From 2532b1476a41e9d6edc8e576b0b2348e3b6d60d8 Mon Sep 17 00:00:00 2001 From: Akihiro Sagawa Date: Wed, 17 May 2017 21:35:51 +0900 Subject: [PATCH] wordpad: Avoid using isspace() for WCHARs. Found with Coccinelle. Signed-off-by: Akihiro Sagawa Signed-off-by: Alexandre Julliard --- programs/wordpad/wordpad.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/wordpad/wordpad.c b/programs/wordpad/wordpad.c index f91274d6d92..904867f6179 100644 --- a/programs/wordpad/wordpad.c +++ b/programs/wordpad/wordpad.c @@ -1171,7 +1171,7 @@ static void HandleCommandLine(LPWSTR cmdline) while (*cmdline) { - while (isspace(*cmdline)) cmdline++; + while (*cmdline == ' ' || *cmdline == '\t') cmdline++; if (*cmdline == '-' || *cmdline == '/') {