mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
whitespace fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@5142 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
901c1de757
commit
eeac1f9bbc
3 changed files with 8 additions and 1 deletions
|
@ -181,10 +181,12 @@ o_vscanf (void *stream,
|
|||
if (isspace(fc))
|
||||
{
|
||||
/* Whitespace characters match any amount of whitespace. */
|
||||
while (isspace (c))
|
||||
while (isspace (c) && c != '\n')
|
||||
inchar ();
|
||||
continue;
|
||||
}
|
||||
else if (c == fc && *f == '\0')
|
||||
continue;
|
||||
else if (c == fc)
|
||||
(void) inchar();
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue