mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
fix stupid error in last change
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@35634 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1d7830df31
commit
8d076c601b
1 changed files with 2 additions and 2 deletions
|
@ -1772,7 +1772,7 @@ NSDictionary *locale)
|
|||
* precision required for output.
|
||||
*/
|
||||
len = 0;
|
||||
while (len < prec && str[0] != 0)
|
||||
while (len < prec && str[len] != 0)
|
||||
{
|
||||
len++;
|
||||
}
|
||||
|
@ -1787,7 +1787,7 @@ NSDictionary *locale)
|
|||
* to check and emulate OSX behavior.
|
||||
*/
|
||||
len = 0;
|
||||
while (len < prec && str[0] != 0)
|
||||
while (len < prec && str[len] != 0)
|
||||
{
|
||||
len++;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue