X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/putty/blobdiff_plain/9a30e26b7801d63e4ccfe8d36169299c09b89dff..5a8afc787bcaafabd3aee68b6dac341962801b57:/unix/uxstore.c diff --git a/unix/uxstore.c b/unix/uxstore.c index 6035113b..5da6ed6a 100644 --- a/unix/uxstore.c +++ b/unix/uxstore.c @@ -80,7 +80,7 @@ void provide_xrm_string(char *string) memcpy(key, p, q-p); key[q-p-1] = '\0'; xrms->key = key; - while (*q && isspace(*q)) + while (*q && isspace((unsigned char)*q)) q++; xrms->value = dupstr(q);