Akihiro Sagawa : secur32: Use isspaceW() instead of isspace() for WCHARs.
Alexandre Julliard
julliard at winehq.org
Wed May 17 15:58:29 CDT 2017
Module: wine
Branch: master
Commit: b7ed8760210f497cf9b0c81a9e4684d862726bc6
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7ed8760210f497cf9b0c81a9e4684d862726bc6
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Wed May 17 21:35:40 2017 +0900
secur32: Use isspaceW() instead of isspace() for WCHARs.
Found with Coccinelle.
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/secur32/secur32.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/secur32/secur32.c b/dlls/secur32/secur32.c
index d3cbb9b..1e12f3c 100644
--- a/dlls/secur32/secur32.c
+++ b/dlls/secur32/secur32.c
@@ -593,8 +593,8 @@ static void SECUR32_initializeProviders(void)
;
if (*comma == ',')
*comma = '\0';
- for (; *ptr && isspace(*ptr) && ptr < securityPkgNames + size;
- ptr++)
+ for (; *ptr && isspaceW(*ptr) && ptr < securityPkgNames + size;
+ ptr++)
;
if (*ptr)
_tryLoadProvider(ptr);
More information about the wine-cvs
mailing list