Commit 2532b147 authored by Akihiro Sagawa's avatar Akihiro Sagawa Committed by Alexandre Julliard

wordpad: Avoid using isspace() for WCHARs.

Found with Coccinelle. Signed-off-by: 's avatarAkihiro Sagawa <sagawa.aki@gmail.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 9abd3b96
...@@ -1171,7 +1171,7 @@ static void HandleCommandLine(LPWSTR cmdline) ...@@ -1171,7 +1171,7 @@ static void HandleCommandLine(LPWSTR cmdline)
while (*cmdline) while (*cmdline)
{ {
while (isspace(*cmdline)) cmdline++; while (*cmdline == ' ' || *cmdline == '\t') cmdline++;
if (*cmdline == '-' || *cmdline == '/') if (*cmdline == '-' || *cmdline == '/')
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment