From 91d3fea2ec91402bb9a9c87c17ad94c962eaad21 Mon Sep 17 00:00:00 2001 From: Xiangfu Liu Date: Thu, 13 Jan 2011 17:20:17 +0800 Subject: [PATCH] fixed section display not correct in ben nanonote --- src/menu.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/menu.cpp b/src/menu.cpp index 0d0e47c..6678427 100644 --- a/src/menu.cpp +++ b/src/menu.cpp @@ -145,8 +145,8 @@ void Menu::setSectionIndex(int i) { i=0; iSection = i; - if (i>(int)iFirstDispSection+4) - iFirstDispSection = i-4; + if (i>(int)iFirstDispSection+2) + iFirstDispSection = i-2; else if (i<(int)iFirstDispSection) iFirstDispSection = i;