X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/4e6d40912e43afdde39744815e30dd425a4849d3..e93ed4323c03b94653cda6ba5881c0081c3d905f:/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);