secur32: 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>
This commit is contained in:
Akihiro Sagawa 2017-05-17 21:35:40 +09:00 committed by Alexandre Julliard
parent ea6e51744f
commit b7ed876021

View file

@ -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);