mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 04:13:38 +00:00
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 a new issue