Mercurial > public > ostc4
diff Discovery/Src/tMenu.c @ 658:4df22790dc0c
Bugfix handling of new menu tab in flipped mode:
The missing handling of the new menu tab cause the OSTC to hang during iteration through tab while CCR mode was selected. The missing code has been added to fix the issue.
author | Ideenmodellierer |
---|---|
date | Tue, 27 Apr 2021 21:29:26 +0200 |
parents | 5f0d3dce5ef4 |
children | 1b995079c045 |
line wrap: on
line diff
--- a/Discovery/Src/tMenu.c Mon Apr 26 15:03:04 2021 +0200 +++ b/Discovery/Src/tMenu.c Tue Apr 27 21:29:26 2021 +0200 @@ -1362,7 +1362,7 @@ pDestination -= (800) * 480; positionText += 70; - if((k == 4) || ((k == 6) && (menu.pageCountNumber[5] == 0))) + if(((k == 4) && (actual_menu_content != MENU_SURFACE)) || ((k == 6) && (menu.pageCountNumber[5] == 0))) { pDestination -= 70 * 480; positionText += 70;