~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Sync with website
[sgt/puzzles]
/
cube.c
diff --git
a/cube.c
b/cube.c
index
c1462e7
..
e271ce3
100644
(file)
--- a/
cube.c
+++ b/
cube.c
@@
-285,7
+285,7
@@
static void decode_params(game_params *ret, char const *string)
default: break;
}
ret->d1 = ret->d2 = atoi(string);
- while (*string && isdigit(*string)) string++;
+ while (*string && isdigit(
(unsigned char)
*string)) string++;
if (*string == 'x') {
string++;
ret->d2 = atoi(string);