wordpad: Avoid using isspace() for WCHARs.
Found with Coccinelle. Signed-off-by: Akihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
9abd3b9622
commit
2532b1476a
|
@ -1171,7 +1171,7 @@ static void HandleCommandLine(LPWSTR cmdline)
|
|||
|
||||
while (*cmdline)
|
||||
{
|
||||
while (isspace(*cmdline)) cmdline++;
|
||||
while (*cmdline == ' ' || *cmdline == '\t') cmdline++;
|
||||
|
||||
if (*cmdline == '-' || *cmdline == '/')
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue