diff options
| author | Franklin Wei <git@fwei.tk> | 2017-08-23 14:20:07 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2017-08-23 14:22:09 -0400 |
| commit | 3c514f8e20ea8762025a12f9edbea27967e31d76 (patch) | |
| tree | ed44527b00a128ce85f507e1abda8dbbbf7de4cb /apps/plugins/puzzles/src/range.c | |
| parent | 4dd300d9f0229269aa8f9a46b07a5aa65f882985 (diff) | |
| download | rockbox-3c514f8e20ea8762025a12f9edbea27967e31d76.zip rockbox-3c514f8e20ea8762025a12f9edbea27967e31d76.tar.gz rockbox-3c514f8e20ea8762025a12f9edbea27967e31d76.tar.bz2 rockbox-3c514f8e20ea8762025a12f9edbea27967e31d76.tar.xz | |
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.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/puzzles/src/range.c b/apps/plugins/puzzles/src/range.c index 588178c..4dd39b9 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) static char *game_text_format(const game_state *state) { - int cellsize, r, c, i, w_string, h_string, n_string; + int r, c, i, w_string, h_string, n_string; + char cellsize; char *ret, *buf, *gridline; int const w = state->params.w, h = state->params.h; |