diff options
Diffstat (limited to 'apps/menu.c')
-rw-r--r-- | apps/menu.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/menu.c b/apps/menu.c index 023f6fbbfb..b7bc542bb0 100644 --- a/apps/menu.c +++ b/apps/menu.c | |||
@@ -92,8 +92,11 @@ void put_cursorxy(int x, int y, bool on) | |||
92 | #ifdef HAVE_LCD_BITMAP | 92 | #ifdef HAVE_LCD_BITMAP |
93 | int fh, fw; | 93 | int fh, fw; |
94 | int xpos, ypos; | 94 | int xpos, ypos; |
95 | |||
96 | /* check here instead of at every call (ugly, but cheap) */ | ||
95 | if (global_settings.invert_cursor) | 97 | if (global_settings.invert_cursor) |
96 | return; | 98 | return; |
99 | |||
97 | lcd_getstringsize("A", &fw, &fh); | 100 | lcd_getstringsize("A", &fw, &fh); |
98 | xpos = x*6; | 101 | xpos = x*6; |
99 | ypos = y*fh + lcd_getymargin(); | 102 | ypos = y*fh + lcd_getymargin(); |