summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/puzzles/src/filling.c2
-rw-r--r--apps/plugins/puzzles/src/unequal.c24
2 files changed, 13 insertions, 13 deletions
diff --git a/apps/plugins/puzzles/src/filling.c b/apps/plugins/puzzles/src/filling.c
index c331dac..c278ada 100644
--- a/apps/plugins/puzzles/src/filling.c
+++ b/apps/plugins/puzzles/src/filling.c
@@ -69,7 +69,7 @@
static unsigned char verbose;
static void printv(const char *fmt, ...) {
-#ifndef PALM
+#if !defined(PALM) && !defined(ROCKBOX)
if (verbose) {
va_list va;
va_start(va, fmt);
diff --git a/apps/plugins/puzzles/src/unequal.c b/apps/plugins/puzzles/src/unequal.c
index d8204a4..5843ae2 100644
--- a/apps/plugins/puzzles/src/unequal.c
+++ b/apps/plugins/puzzles/src/unequal.c
@@ -1683,18 +1683,18 @@ static void draw_gt(drawing *dr, int ox, int oy,
{
int coords[12];
int xdx = (dx1+dx2 ? 0 : 1), xdy = (dx1+dx2 ? 1 : 0);
- coords[0] = ox + xdx;
- coords[1] = oy + xdy;
- coords[2] = ox + xdx + dx1;
- coords[3] = oy + xdy + dy1;
- coords[4] = ox + xdx + dx1 + dx2;
- coords[5] = oy + xdy + dy1 + dy2;
- coords[6] = ox - xdx + dx1 + dx2;
- coords[7] = oy - xdy + dy1 + dy2;
- coords[8] = ox - xdx + dx1;
- coords[9] = oy - xdy + dy1;
- coords[10] = ox - xdx;
- coords[11] = oy - xdy;
+ coords[0] = ox + xdx + dx1;
+ coords[1] = oy + xdy + dy1;
+ coords[2] = ox + xdx + dx1 + dx2;
+ coords[3] = oy + xdy + dy1 + dy2;
+ coords[4] = ox - xdx + dx1 + dx2;
+ coords[5] = oy - xdy + dy1 + dy2;
+ coords[6] = ox - xdx + dx1;
+ coords[7] = oy - xdy + dy1;
+ coords[8] = ox - xdx;
+ coords[9] = oy - xdy;
+ coords[10] = ox + xdx;
+ coords[11] = oy + xdy;
draw_polygon(dr, coords, 6, col, col);
}