diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-19 19:38:45 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 0c4f89370d05056faa789aa9cabcccc4e509fb9f (patch) | |
tree | 6ddf7fff0a47564db41d39927ea1acbdb03e74ee /apps/gui/yesno.c | |
parent | 092c340a2062fa98b7387fc5fd63578ddae7d0b6 (diff) | |
download | rockbox-0c4f89370d05056faa789aa9cabcccc4e509fb9f.tar.gz rockbox-0c4f89370d05056faa789aa9cabcccc4e509fb9f.zip |
[2/4] get rid of HAVE_LCD_CHARCELLS
HAVE_LCD_BITMAP is now redundant.
lcd_bitmap is always-on in features.txt so manual and lang strings
don't have to change
Change-Id: I08eeb20de48099ffc2dc23782711af368c2ec794
Diffstat (limited to 'apps/gui/yesno.c')
-rw-r--r-- | apps/gui/yesno.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/apps/gui/yesno.c b/apps/gui/yesno.c index b754d5e477..45638b7076 100644 --- a/apps/gui/yesno.c +++ b/apps/gui/yesno.c | |||
@@ -160,12 +160,7 @@ enum yesno_res gui_syncyesno_run(const struct text_message * main_message, | |||
160 | yn[i].result_message[YESNO_NO]=no_message; | 160 | yn[i].result_message[YESNO_NO]=no_message; |
161 | yn[i].display=&screens[i]; | 161 | yn[i].display=&screens[i]; |
162 | yn[i].vp = &vp[i]; | 162 | yn[i].vp = &vp[i]; |
163 | #ifdef HAVE_LCD_CHARCELLS | ||
164 | /* Quick fix. Viewports should really be enabled proper for charcell */ | ||
165 | viewport_set_defaults(yn[i].vp, i); | ||
166 | #else | ||
167 | viewportmanager_theme_enable(i, true, yn[i].vp); | 163 | viewportmanager_theme_enable(i, true, yn[i].vp); |
168 | #endif | ||
169 | screens[i].scroll_stop(); | 164 | screens[i].scroll_stop(); |
170 | gui_yesno_draw(&(yn[i])); | 165 | gui_yesno_draw(&(yn[i])); |
171 | } | 166 | } |