diff options
author | lordjaxom <lordjaxom> | 2005-01-20 14:38:47 +0000 |
---|---|---|
committer | lordjaxom <lordjaxom> | 2005-01-20 14:38:47 +0000 |
commit | db85e8abaf687cbd782e9de1c7c7a7304e9dc4e5 (patch) | |
tree | 39b2ba37e85653d0e4348765ca9cea5c8dc848da | |
parent | da3f84c446dffbd0dc1aa32cd76c0433985aa596 (diff) | |
download | vdr-plugin-text2skin-db85e8abaf687cbd782e9de1c7c7a7304e9dc4e5.tar.gz vdr-plugin-text2skin-db85e8abaf687cbd782e9de1c7c7a7304e9dc4e5.tar.bz2 |
- updated (thx to Andreas Brugger)
-rw-r--r-- | patches/vdr-1.3.17-osdbase-maxitems.diff | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/patches/vdr-1.3.17-osdbase-maxitems.diff b/patches/vdr-1.3.17-osdbase-maxitems.diff index f9284ae..93534f7 100644 --- a/patches/vdr-1.3.17-osdbase-maxitems.diff +++ b/patches/vdr-1.3.17-osdbase-maxitems.diff @@ -1,6 +1,7 @@ ---- osdbase.c.orig Wed Jan 5 20:22:36 2005 -+++ osdbase.c Wed Jan 5 20:22:23 2005 -@@ -177,6 +177,7 @@ +diff -Nru vdr-1.3.18/osdbase.c vdr-1.3.18-maxitems/osdbase.c +--- vdr-1.3.18/osdbase.c Fri Jan 7 17:16:41 2005 ++++ vdr-1.3.18-maxitems/osdbase.c Thu Jan 20 15:44:43 2005 +@@ -180,6 +180,7 @@ subMenu->Display(); return; } @@ -8,3 +9,12 @@ displayMenu->SetMessage(mtStatus, NULL); displayMenu->Clear(); cStatus::MsgOsdClear(); +@@ -279,6 +280,8 @@ + { + int last = Count() - 1; + int lastOnScreen = first + displayMenuItems - 1; ++ ++ displayMenuItems = displayMenu->MaxItems(); + + if (current < last) { + int tmpCurrent = current; |