diff options
author | Thomas Martitz <kugel@rockbox.org> | 2013-04-16 16:06:13 +0200 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2014-01-07 14:13:48 +0100 |
commit | 49780944809651f28e8135bf6d67dcd8ceeb2585 (patch) | |
tree | 4893467ebcf509eeab6990905511f40c852b7f03 /apps/menus | |
parent | 9a4686b563ac9e27615e1032792bd9878bb291f7 (diff) | |
download | rockbox-49780944809651f28e8135bf6d67dcd8ceeb2585.tar.gz rockbox-49780944809651f28e8135bf6d67dcd8ceeb2585.tar.bz2 rockbox-49780944809651f28e8135bf6d67dcd8ceeb2585.zip |
lcd-common: Remove support for custom line heights from viewport.
Since scrolling is now pixel-based this is not necessary anymore. custom line
height is handled by put_line() but can also possible to implement with
lcd_puts_scroll_func().
Change-Id: Iee9b12bf99afac93d95d2a1a6f5d5b4db237b21c
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/time_menu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/menus/time_menu.c b/apps/menus/time_menu.c index 1eb4bd68cc..9ef4f7323c 100644 --- a/apps/menus/time_menu.c +++ b/apps/menus/time_menu.c @@ -265,7 +265,7 @@ int time_screen(void* ignored) /* force time to be drawn centered */ clock_vps[i].flags |= VP_FLAG_ALIGN_CENTER; - font_h = clock_vps[i].line_height ?: (int)font_get(clock_vps[i].font)->height; + font_h = font_get(clock_vps[i].font)->height; nb_lines -= 2; /* at least 2 lines for menu */ if (nb_lines > 4) nb_lines = 4; |