~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix off-by-one in selection update while scrolling. Thanks Richard B.
[sgt/putty]
/
unix
/
uxstore.c
diff --git
a/unix/uxstore.c
b/unix/uxstore.c
index
6035113
..
5da6ed6
100644
(file)
--- 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);