* src/stringprep/stringprep_drv.c: Bugfix

SVN Revision: 348
This commit is contained in:
Alexey Shchepin
2005-05-17 12:51:47 +00:00
parent d7a6fcb712
commit fb870ca15d
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ static int compose(int ch1, int ch2)
rstring[pos+2] = (char) ((ruc | 0x80) & 0xBF); \
pos += 3; \
} else if (ruc <= 0x1FFFFF) { \
if (pos + 2 >= size) { \
if (pos + 3 >= size) { \
size = 2*size + 4; \
rstring = driver_realloc(rstring, size); \
} \