~mdw
/
sgt
/
puzzles
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Bah! There's _always_ one. Display glitch corrected.
[sgt/puzzles]
/
sixteen.c
diff --git
a/sixteen.c
b/sixteen.c
index
0e4f8a8
..
457e9c9
100644
(file)
--- a/
sixteen.c
+++ b/
sixteen.c
@@
-100,7
+100,7
@@
static void decode_params(game_params *ret, char const *string)
{
ret->w = ret->h = atoi(string);
ret->movetarget = 0;
- while (*string && isdigit(*string)) string++;
+ while (*string && isdigit(
(unsigned char)
*string)) string++;
if (*string == 'x') {
string++;
ret->h = atoi(string);