diff options
author | Franklin Wei <git@fwei.tk> | 2017-10-23 17:19:29 -0400 |
---|---|---|
committer | Franklin Wei <git@fwei.tk> | 2017-10-23 17:19:29 -0400 |
commit | ef1306764e6443d67612542654f252b376c5993e (patch) | |
tree | 5f064178c1f9a23695b1b52b8bd487434be9006e /apps/plugins/puzzles/src/latin.c | |
parent | 7a8c9daf7ef5a8b38d4c4f6625ff2d9d8eb1aa0a (diff) | |
download | rockbox-ef1306764e6443d67612542654f252b376c5993e.tar.gz rockbox-ef1306764e6443d67612542654f252b376c5993e.zip |
puzzles: resync with upstream
There have been some improvements with regard to small screen sizes,
which will be nice to have.
Change-Id: I30c740514156258d2818fde325c1a751500f7611
Diffstat (limited to 'apps/plugins/puzzles/src/latin.c')
-rw-r--r-- | apps/plugins/puzzles/src/latin.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/puzzles/src/latin.c b/apps/plugins/puzzles/src/latin.c index 03d78aff1f..50fae3cfea 100644 --- a/apps/plugins/puzzles/src/latin.c +++ b/apps/plugins/puzzles/src/latin.c | |||
@@ -73,7 +73,7 @@ void latin_solver_place(struct latin_solver *solver, int x, int y, int n) | |||
73 | 73 | ||
74 | int latin_solver_elim(struct latin_solver *solver, int start, int step | 74 | int latin_solver_elim(struct latin_solver *solver, int start, int step |
75 | #ifdef STANDALONE_SOLVER | 75 | #ifdef STANDALONE_SOLVER |
76 | , char *fmt, ... | 76 | , const char *fmt, ... |
77 | #endif | 77 | #endif |
78 | ) | 78 | ) |
79 | { | 79 | { |
@@ -150,7 +150,7 @@ int latin_solver_set(struct latin_solver *solver, | |||
150 | struct latin_solver_scratch *scratch, | 150 | struct latin_solver_scratch *scratch, |
151 | int start, int step1, int step2 | 151 | int start, int step1, int step2 |
152 | #ifdef STANDALONE_SOLVER | 152 | #ifdef STANDALONE_SOLVER |
153 | , char *fmt, ... | 153 | , const char *fmt, ... |
154 | #endif | 154 | #endif |
155 | ) | 155 | ) |
156 | { | 156 | { |
@@ -499,7 +499,7 @@ int latin_solver_forcing(struct latin_solver *solver, | |||
499 | (xt == x || yt == y)) { | 499 | (xt == x || yt == y)) { |
500 | #ifdef STANDALONE_SOLVER | 500 | #ifdef STANDALONE_SOLVER |
501 | if (solver_show_working) { | 501 | if (solver_show_working) { |
502 | char *sep = ""; | 502 | const char *sep = ""; |
503 | int xl, yl; | 503 | int xl, yl; |
504 | printf("%*sforcing chain, %s at ends of ", | 504 | printf("%*sforcing chain, %s at ends of ", |
505 | solver_recurse_depth*4, "", | 505 | solver_recurse_depth*4, "", |
@@ -775,7 +775,7 @@ static int latin_solver_recurse | |||
775 | 775 | ||
776 | #ifdef STANDALONE_SOLVER | 776 | #ifdef STANDALONE_SOLVER |
777 | if (solver_show_working) { | 777 | if (solver_show_working) { |
778 | char *sep = ""; | 778 | const char *sep = ""; |
779 | printf("%*srecursing on (%d,%d) [", | 779 | printf("%*srecursing on (%d,%d) [", |
780 | solver_recurse_depth*4, "", x+1, y+1); | 780 | solver_recurse_depth*4, "", x+1, y+1); |
781 | for (i = 0; i < j; i++) { | 781 | for (i = 0; i < j; i++) { |