diff --git a/Source/Additions/Unicode.m b/Source/Additions/Unicode.m index d7ab6d89e..9478e2840 100644 --- a/Source/Additions/Unicode.m +++ b/Source/Additions/Unicode.m @@ -723,7 +723,7 @@ if (dst == 0) \ * reset the offset into the local buffer on the \ * stack and pretend the buffer has grown. \ */ \ - ptr = buf; \ + ptr = buf - bsize; \ if (extra == 0) \ { \ bsize += BUFSIZ; \ @@ -1247,7 +1247,7 @@ if (dst == 0) \ * reset the offset into the local buffer on the \ * stack and pretend the buffer has grown. \ */ \ - ptr = buf; \ + ptr = buf - bsize; \ if (extra == 0) \ { \ bsize += BUFSIZ; \