~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]
/
pattern.c
diff --git
a/pattern.c
b/pattern.c
index
f83746a
..
3d5c11f
100644
(file)
--- a/
pattern.c
+++ b/
pattern.c
@@
-106,11
+106,11
@@
static void decode_params(game_params *ret, char const *string)
char const *p = string;
ret->w = atoi(p);
char const *p = string;
ret->w = atoi(p);
- while (*p && isdigit(*p)) p++;
+ while (*p && isdigit(
(unsigned char)
*p)) p++;
if (*p == 'x') {
p++;
ret->h = atoi(p);
if (*p == 'x') {
p++;
ret->h = atoi(p);
- while (*p && isdigit(*p)) p++;
+ while (*p && isdigit(
(unsigned char)
*p)) p++;
} else {
ret->h = ret->w;
}
} else {
ret->h = ret->w;
}
@@
-1159,7
+1159,7
@@
static int game_wants_statusbar(void)
return FALSE;
}
return FALSE;
}
-static int game_timing_state(game_state *state)
+static int game_timing_state(game_state *state
, game_ui *ui
)
{
return TRUE;
}
{
return TRUE;
}