mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-12 17:11:12 +00:00
Tidyup.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4602 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
76f1d48a3a
commit
db12a4a249
1 changed files with 17 additions and 14 deletions
|
@ -1321,12 +1321,14 @@ handle_printf_atsign (FILE *stream,
|
|||
{
|
||||
count++;
|
||||
found = YES;
|
||||
while ((*whitespceImp)(whitespce, cMemberSel, s[count])
|
||||
&& (count < len))
|
||||
while (count < len
|
||||
&& (*whitespceImp)(whitespce, cMemberSel, s[count]))
|
||||
{
|
||||
count++;
|
||||
}
|
||||
}
|
||||
if (count < len)
|
||||
{
|
||||
if (found)
|
||||
{
|
||||
s[count] = uni_toupper(s[count]);
|
||||
|
@ -1334,13 +1336,14 @@ handle_printf_atsign (FILE *stream,
|
|||
}
|
||||
else
|
||||
{
|
||||
while (!(*whitespceImp)(whitespce, cMemberSel, s[count])
|
||||
&& (count < len))
|
||||
while (count < len
|
||||
&& !(*whitespceImp)(whitespce, cMemberSel, s[count]))
|
||||
{
|
||||
s[count] = uni_tolower(s[count]);
|
||||
count++;
|
||||
}
|
||||
}
|
||||
}
|
||||
found = NO;
|
||||
}
|
||||
return AUTORELEASE([[NSString allocWithZone: NSDefaultMallocZone()]
|
||||
|
|
Loading…
Reference in a new issue