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:
parent
ea6e51744f
commit
b7ed876021
|
@ -593,8 +593,8 @@ static void SECUR32_initializeProviders(void)
|
||||||
;
|
;
|
||||||
if (*comma == ',')
|
if (*comma == ',')
|
||||||
*comma = '\0';
|
*comma = '\0';
|
||||||
for (; *ptr && isspace(*ptr) && ptr < securityPkgNames + size;
|
for (; *ptr && isspaceW(*ptr) && ptr < securityPkgNames + size;
|
||||||
ptr++)
|
ptr++)
|
||||||
;
|
;
|
||||||
if (*ptr)
|
if (*ptr)
|
||||||
_tryLoadProvider(ptr);
|
_tryLoadProvider(ptr);
|
||||||
|
|
Loading…
Reference in New Issue