From 3c514f8e20ea8762025a12f9edbea27967e31d76 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 23 Aug 2017 14:20:07 -0400 Subject: 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 --- apps/plugins/puzzles/src/range.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/plugins/puzzles/src/range.c') 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) 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; -- cgit v1.2.3