diff options
author | Franklin Wei <git@fwei.tk> | 2017-01-01 14:57:30 -0500 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-01-01 15:00:09 -0500 |
commit | 6e5f287606a3039ee26eb4fc8c8f7a05deebe9f0 (patch) | |
tree | a5bb5bc9ec91b2fd8630c082f362952393f71bdb /apps/plugins/puzzles/unequal.c | |
parent | 985f6e6935357b13a43b6c30f0f1e99786b185b0 (diff) | |
download | rockbox-6e5f287606a3039ee26eb4fc8c8f7a05deebe9f0.tar.gz rockbox-6e5f287606a3039ee26eb4fc8c8f7a05deebe9f0.zip |
Fixes and re-sync for puzzles
- Updates to latest upstream (7cae89fb4b22c305b3fd98b4e1be065ad527a9f7).
- Also fixes a bug relating to updating parts of the display.
- Adds some docs.
Change-Id: Idfcce66e0cf3c59e467bab42eafc161df2e495bb
Diffstat (limited to 'apps/plugins/puzzles/unequal.c')
-rw-r--r-- | apps/plugins/puzzles/unequal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/unequal.c b/apps/plugins/puzzles/unequal.c index 457965b4ff..1293de28e8 100644 --- a/apps/plugins/puzzles/unequal.c +++ b/apps/plugins/puzzles/unequal.c | |||
@@ -1214,7 +1214,7 @@ static game_state *load_game(const game_params *params, const char *desc, | |||
1214 | why = "Too much data to fill grid"; goto fail; | 1214 | why = "Too much data to fill grid"; goto fail; |
1215 | } | 1215 | } |
1216 | 1216 | ||
1217 | if (*p < '0' && *p > '9') { | 1217 | if (*p < '0' || *p > '9') { |
1218 | why = "Expecting number in game description"; goto fail; | 1218 | why = "Expecting number in game description"; goto fail; |
1219 | } | 1219 | } |
1220 | n = atoi(p); | 1220 | n = atoi(p); |