summaryrefslogtreecommitdiff
path: root/win32/win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/win32.c')
-rw-r--r--win32/win32.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/win32.c b/win32/win32.c
index 0296f2d3c1..d10081b4ce 100644
--- a/win32/win32.c
+++ b/win32/win32.c
@@ -1637,7 +1637,7 @@ has_redirection(const char *cmd, UINT cp)
static inline WCHAR *
skipspace(WCHAR *ptr)
{
- while (iswspace(*ptr))
+ while (ISSPACE(*ptr))
ptr++;
return ptr;
}
@@ -1659,7 +1659,7 @@ w32_cmdvector(const WCHAR *cmd, char ***vec, UINT cp, rb_encoding *enc)
//
// just return if we don't have a command line
//
- while (iswspace(*cmd))
+ while (ISSPACE(*cmd))
cmd++;
if (!*cmd) {
*vec = NULL;