summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/clix.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/plugins/clix.c b/apps/plugins/clix.c
index 78bfdb8fdf..bfe33b90de 100644
--- a/apps/plugins/clix.c
+++ b/apps/plugins/clix.c
@@ -170,7 +170,14 @@ struct highscore highest[NUM_SCORES];
170#define BOARD_HEIGHT 18 170#define BOARD_HEIGHT 18
171#endif 171#endif
172 172
173#if (LCD_WIDTH >= 306 && LCD_HEIGHT>= 204) 173#if (LCD_WIDTH>=480)
174#if (LCD_WIDTH/BOARD_WIDTH) > (LCD_HEIGHT/BOARD_HEIGHT)
175#define CELL_SIZE (LCD_HEIGHT/BOARD_HEIGHT)
176#else
177#define CELL_SIZE (LCD_WIDTH/BOARD_WIDTH)
178#endif
179
180#elif (LCD_WIDTH >= 306 && LCD_HEIGHT>= 204)
174#define CELL_SIZE 16 181#define CELL_SIZE 16
175 182
176#elif (LCD_WIDTH >= 270 && LCD_HEIGHT>= 180) 183#elif (LCD_WIDTH >= 270 && LCD_HEIGHT>= 180)