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
1 changed files with 2 additions and 2 deletions

View File

@ -593,7 +593,7 @@ static void SECUR32_initializeProviders(void)
;
if (*comma == ',')
*comma = '\0';
for (; *ptr && isspace(*ptr) && ptr < securityPkgNames + size;
for (; *ptr && isspaceW(*ptr) && ptr < securityPkgNames + size;
ptr++)
;
if (*ptr)