mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Fix assignment of 'found' in %z handling.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16392 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c52591b580
commit
226fdc69b6
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2003-04-08 15:37 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSCalendarDate.m (-initWithString:calendarFormat:locale:):
|
||||
Fix assignment of 'found' in %z handling.
|
||||
|
||||
2003-04-07 13:21 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* configure.ac: Link directly to the foreign function interfaces
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue