projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f7682c
)
(read_mtext_element): Fix previous change.
author
ntakahas
<ntakahas>
Mon, 5 Sep 2005 11:38:21 +0000
(11:38 +0000)
committer
ntakahas
<ntakahas>
Mon, 5 Sep 2005 11:38:21 +0000
(11:38 +0000)
src/plist.c
patch
|
blob
|
history
diff --git
a/src/plist.c
b/src/plist.c
index
df04d1e
..
7439751
100644
(file)
--- 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);
}