summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku/sudoku.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/sudoku/sudoku.c')
-rw-r--r--apps/plugins/sudoku/sudoku.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c
index 9a3a147889..218a544f8c 100644
--- a/apps/plugins/sudoku/sudoku.c
+++ b/apps/plugins/sudoku/sudoku.c
@@ -129,8 +129,7 @@ static const char default_game[9][9] =
129#define CELL_WIDTH 12 129#define CELL_WIDTH 12
130#define CELL_HEIGHT 12 130#define CELL_HEIGHT 12
131 131
132#elif ((LCD_HEIGHT==176) && (LCD_WIDTH==220)) || \ 132#elif ((LCD_HEIGHT==176) && (LCD_WIDTH==220))
133 ((LCD_HEIGHT==220) && (LCD_WIDTH==176))
134/* Iriver h300, iPod Color/Photo - 220x176, 9 cells @ 16x16 with 14 border lines */ 133/* Iriver h300, iPod Color/Photo - 220x176, 9 cells @ 16x16 with 14 border lines */
135 134
136/* Internal dimensions of a cell */ 135/* Internal dimensions of a cell */
@@ -151,7 +150,14 @@ static const char default_game[9][9] =
151#else /* Vertical layout, scratchpad at the bottom */ 150#else /* Vertical layout, scratchpad at the bottom */
152#define VERTICAL_LAYOUT 151#define VERTICAL_LAYOUT
153 152
154#if (LCD_HEIGHT>=320) && (LCD_WIDTH>=240) 153#if ((LCD_HEIGHT==220) && (LCD_WIDTH==176))
154/* e200, 9 cells @ 16x16 with 14 border lines */
155
156/* Internal dimensions of a cell */
157#define CELL_WIDTH 16
158#define CELL_HEIGHT 16
159
160#elif (LCD_HEIGHT>=320) && (LCD_WIDTH>=240)
155/* Gigabeat - 240x320, 9 cells @ 24x24 with 14 border lines */ 161/* Gigabeat - 240x320, 9 cells @ 24x24 with 14 border lines */
156 162
157/* Internal dimensions of a cell */ 163/* Internal dimensions of a cell */