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.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/2048.c b/apps/plugins/2048.c
index 2633753071..456f973aef 100644
--- a/apps/plugins/2048.c
+++ b/apps/plugins/2048.c
@@ -148,9 +148,7 @@ 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
152 backlight_use_settings(); 151 backlight_use_settings();
153#endif
154} 152}
155 153
156/* returns 2 or 4 */ 154/* returns 2 or 4 */
@@ -700,9 +698,8 @@ static void init_game(bool newgame)
700 max_numeral_width = rb->font_get_width(rb->font_get(WHAT_FONT), '0'); 698 max_numeral_width = rb->font_get_width(rb->font_get(WHAT_FONT), '0');
701#endif 699#endif
702 700
703#ifdef HAVE_BACKLIGHT
704 backlight_ignore_timeout(); 701 backlight_ignore_timeout();
705#endif 702
706 draw(); 703 draw();
707} 704}
708 705