diff --git a/ChangeLog b/ChangeLog index 7e7512714..6a506da57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-10-14 Bruno Haible + + * Source/NSString.m (parseQuotedString): Fix interpretation of + octal escape sequences. + 2003-10-14 Richard Frith-Macdonald * GSPrivate.h: New macros to aid with appropriate use of stack diff --git a/Source/NSString.m b/Source/NSString.m index 25433f564..db0271ffb 100644 --- a/Source/NSString.m +++ b/Source/NSString.m @@ -4614,7 +4614,7 @@ static inline id parseQuotedString(pldata* pld) { if (escaped == 1 && c >= '0' && c <= '7') { - chars[k] = 0; + chars[k] = c - '0'; hex = NO; escaped++; }