From a17c402d91c915de9e9bedd89e6fdf5c8b04cb63 Mon Sep 17 00:00:00 2001 From: arighi Date: Mon, 19 Apr 2010 16:07:08 +0000 Subject: [PATCH] menu: correctly show the entry at the bottom of the display. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3467 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/gui/menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bertos/gui/menu.c b/bertos/gui/menu.c index d897ae94..c3fc3d2b 100644 --- a/bertos/gui/menu.c +++ b/bertos/gui/menu.c @@ -442,7 +442,7 @@ iptr_t menu_handle(const struct Menu *menu) items_per_page = - (menu->bitmap->height / menu->bitmap->font->height) + (menu->bitmap->height / menu->bitmap->font->height - 1) #if CONFIG_MENU_MENUBAR - 1 /* menu bar labels */ #endif -- 2.25.1