Use g_ascii_isspace instead of isspace because the later is slower and we
only need to deal with ascii.
This commit is contained in:
@@ -51,7 +51,7 @@ char *
|
||||
skip_token (const char *p)
|
||||
{
|
||||
p = next_token(p);
|
||||
while (*p && !isspace(*p)) p++;
|
||||
while (*p && !g_ascii_isspace(*p)) p++;
|
||||
p = next_token(p);
|
||||
return (char *)p;
|
||||
}
|
||||
|
Reference in New Issue
Block a user