diff --git a/ChangeLog b/ChangeLog index 5c25a60dd..6ebf7a66b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-04-08 15:37 Alexander Malmberg + + * Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:): + Fix assignment of 'found' in %z handling. + 2003-04-07 13:21 Alexander Malmberg * configure.ac: Link directly to the foreign function interfaces diff --git a/Source/NSCalendarDate.m b/Source/NSCalendarDate.m index 429a5dc0b..009b4b86a 100644 --- a/Source/NSCalendarDate.m +++ b/Source/NSCalendarDate.m @@ -1043,7 +1043,7 @@ static inline int getDigits(const char *from, char *to, int limit) sign = -1; sourceIdx++; } - found += getDigits(&source[sourceIdx], tmpStr, 4); + found = getDigits(&source[sourceIdx], tmpStr, 4); if (found > 0) { sourceIdx += found;