1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-23 01:13:09 +02:00

fixed section display not correct in ben nanonote

This commit is contained in:
Xiangfu Liu 2011-01-13 17:20:17 +08:00
parent bfe772b690
commit 91d3fea2ec

View File

@ -145,8 +145,8 @@ void Menu::setSectionIndex(int i) {
i=0; i=0;
iSection = i; iSection = i;
if (i>(int)iFirstDispSection+4) if (i>(int)iFirstDispSection+2)
iFirstDispSection = i-4; iFirstDispSection = i-2;
else if (i<(int)iFirstDispSection) else if (i<(int)iFirstDispSection)
iFirstDispSection = i; iFirstDispSection = i;