summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorFranklin Wei <me@fwei.tk>2017-07-26 22:16:27 -0400
committerFranklin Wei <me@fwei.tk>2017-07-27 00:03:08 -0400
commit0140246a9007d77290fd70f7474e941d0599a31f (patch)
treec73bf068c892c89b6945b1b4d51c896a069741a9 /apps
parent320ab442789f1c247a366cea4d47d9e0c380d9bc (diff)
downloadrockbox-0140246a9007d77290fd70f7474e941d0599a31f.zip
rockbox-0140246a9007d77290fd70f7474e941d0599a31f.tar.gz
rockbox-0140246a9007d77290fd70f7474e941d0599a31f.tar.bz2
rockbox-0140246a9007d77290fd70f7474e941d0599a31f.tar.xz
puzzles: fix flag drawing in Mines
Yet another workaround to accomodate our polygon drawing "algorithm" (if you can call it that).
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/puzzles/src/mines.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/puzzles/src/mines.c b/apps/plugins/puzzles/src/mines.c
index 6a5ce02..3bfe832 100644
--- a/apps/plugins/puzzles/src/mines.c
+++ b/apps/plugins/puzzles/src/mines.c
@@ -2867,12 +2867,12 @@ static void draw_tile(drawing *dr, game_drawstate *ds,
coords[(n)*2+0] = x + (int)(TILE_SIZE * (dx)); \
coords[(n)*2+1] = y + (int)(TILE_SIZE * (dy)); \
} while (0)
- SETCOORD(0, 0.6F, 0.35F);
- SETCOORD(1, 0.6F, 0.7F);
- SETCOORD(2, 0.8F, 0.8F);
- SETCOORD(3, 0.25F, 0.8F);
- SETCOORD(4, 0.55F, 0.7F);
- SETCOORD(5, 0.55F, 0.35F);
+ SETCOORD(0, 0.6F, 0.7F);
+ SETCOORD(1, 0.8F, 0.8F);
+ SETCOORD(2, 0.25F, 0.8F);
+ SETCOORD(3, 0.55F, 0.7F);
+ SETCOORD(4, 0.55F, 0.35F);
+ SETCOORD(5, 0.6F, 0.35F);
draw_polygon(dr, coords, 6, COL_FLAGBASE, COL_FLAGBASE);
SETCOORD(0, 0.6F, 0.2F);