Module: wine Branch: master Commit: 71e61520772ed3829538758ad2c329b6f27aa6aa URL: http://source.winehq.org/git/wine.git/?a=commit;h=71e61520772ed3829538758ad2...
Author: Akihiro Sagawa sagawa.aki@gmail.com Date: Wed May 17 00:00:09 2017 +0900
crypt32: Use isspaceW() instead of isspace() for WCHARs.
Found with Coccinelle.
Signed-off-by: Akihiro Sagawa sagawa.aki@gmail.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
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 3fa5a97..1daf29f 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 != '=') {