Akihiro Sagawa : secur32: Use isspaceW() instead of isspace() for WCHARs.
Module: wine Branch: master Commit: b7ed8760210f497cf9b0c81a9e4684d862726bc6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b7ed8760210f497cf9b0c81a9e... Author: Akihiro Sagawa <sagawa.aki(a)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(a)gmail.com> Signed-off-by: Alexandre Julliard <julliard(a)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);
participants (1)
-
Alexandre Julliard