summaryrefslogtreecommitdiff
path: root/apps/plugins/2048.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/2048.c')
-rw-r--r--apps/plugins/2048.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/2048.c b/apps/plugins/2048.c
index 08be294d88..1604b73c62 100644
--- a/apps/plugins/2048.c
+++ b/apps/plugins/2048.c
@@ -148,7 +148,9 @@ static inline int rand_range(int min, int max)
148/* prepares for exit */ 148/* prepares for exit */
149static void cleanup(void) 149static void cleanup(void)
150{ 150{
151#ifdef HAVE_BACKLIGHT
151 backlight_use_settings(); 152 backlight_use_settings();
153#endif
152} 154}
153 155
154/* returns 2 or 4 */ 156/* returns 2 or 4 */
@@ -698,7 +700,9 @@ static void init_game(bool newgame)
698 max_numeral_width = rb->font_get_width(rb->font_get(WHAT_FONT), '0'); 700 max_numeral_width = rb->font_get_width(rb->font_get(WHAT_FONT), '0');
699#endif 701#endif
700 702
703#ifdef HAVE_BACKLIGHT
701 backlight_ignore_timeout(); 704 backlight_ignore_timeout();
705#endif
702 draw(); 706 draw();
703} 707}
704 708