From 80c87c0a065da302d76eda88f2dd81688d1406ec Mon Sep 17 00:00:00 2001 From: Richard Frith-MacDonald Date: Fri, 13 Jun 2008 07:11:08 +0000 Subject: [PATCH] Fix error in last change git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26643 72102866-910b-0410-8b05-ffd578937521 --- Source/Additions/Unicode.m | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; \