summaryrefslogtreecommitdiff
path: root/apps/plugins/puzzles/src/range.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2017-08-23 14:20:07 -0400
committerFranklin Wei <git@fwei.tk>2017-08-23 14:22:09 -0400
commit3c514f8e20ea8762025a12f9edbea27967e31d76 (patch)
treeed44527b00a128ce85f507e1abda8dbbbf7de4cb /apps/plugins/puzzles/src/range.c
parent4dd300d9f0229269aa8f9a46b07a5aa65f882985 (diff)
downloadrockbox-3c514f8e20ea8762025a12f9edbea27967e31d76.tar.gz
rockbox-3c514f8e20ea8762025a12f9edbea27967e31d76.zip
puzzles: misc. changes and sync with upstream
This brings puzzles up-to-date with Simon's tree, along with the rockbox-specific changes I made. Note that I also got rid of some of the ugly floating-point code in rbwrappers.c and replaced it with wrappers for our fixed-point library. Change-Id: Ibfb79acb15517116a26de1c3ea89e025146b9e2e
Diffstat (limited to 'apps/plugins/puzzles/src/range.c')
-rw-r--r--apps/plugins/puzzles/src/range.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/src/range.c b/apps/plugins/puzzles/src/range.c
index 588178c003..4dd39b97cd 100644
--- a/apps/plugins/puzzles/src/range.c
+++ b/apps/plugins/puzzles/src/range.c
@@ -1159,7 +1159,8 @@ static int game_can_format_as_text_now(const game_params *params)
1159 1159
1160static char *game_text_format(const game_state *state) 1160static char *game_text_format(const game_state *state)
1161{ 1161{
1162 int cellsize, r, c, i, w_string, h_string, n_string; 1162 int r, c, i, w_string, h_string, n_string;
1163 char cellsize;
1163 char *ret, *buf, *gridline; 1164 char *ret, *buf, *gridline;
1164 1165
1165 int const w = state->params.w, h = state->params.h; 1166 int const w = state->params.w, h = state->params.h;