From: ntakahas Date: Mon, 5 Sep 2005 11:38:21 +0000 (+0000) Subject: (read_mtext_element): Fix previous change. X-Git-Tag: REL-1-3-0~184 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb8fc8bb1470a51c38a70112097778e57d05c930;p=m17n%2Fm17n-lib.git (read_mtext_element): Fix previous change. --- diff --git a/src/plist.c b/src/plist.c index df04d1e..7439751 100644 --- a/src/plist.c +++ b/src/plist.c @@ -253,7 +253,7 @@ read_mtext_element (MPlist *plist, MStream *st, int skip) chars = buffer.chars; for (j = i - 1; j >= 0; j--) chars[j] = bytes[j]; - nchars = i; + nchars = READ_MTEXT_BUF_SIZE; if (bytes != buffer.bytes) free (bytes); }