From 71e61520772ed3829538758ad2c329b6f27aa6aa Mon Sep 17 00:00:00 2001 From: Akihiro Sagawa Date: Wed, 17 May 2017 00:00:09 +0900 Subject: [PATCH] crypt32: Use isspaceW() instead of isspace() for WCHARs. Found with Coccinelle. Signed-off-by: Akihiro Sagawa Signed-off-by: Alexandre Julliard --- dlls/crypt32/str.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/crypt32/str.c b/dlls/crypt32/str.c index 3fa5a9743e6..1daf29f8a0f 100644 --- a/dlls/crypt32/str.c +++ b/dlls/crypt32/str.c @@ -1058,7 +1058,7 @@ BOOL WINAPI CertStrToNameW(DWORD dwCertEncodingType, LPCWSTR pszX500, else { str = token.end; - while (isspace(*str)) + while (isspaceW(*str)) str++; if (*str != '=') {