diff options
author | phintuka <phintuka> | 2009-11-11 16:09:09 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2009-11-11 16:09:09 +0000 |
commit | 574a8e57ecbb8cd4cdd7bbdc1ead93c37fffad9e (patch) | |
tree | 6a654c174c7cd0ff67522e429927092c8a5e676b | |
parent | 2e05f084faae77694aa45c6743adc21be85ec130 (diff) | |
download | xineliboutput-574a8e57ecbb8cd4cdd7bbdc1ead93c37fffad9e.tar.gz xineliboutput-574a8e57ecbb8cd4cdd7bbdc1ead93c37fffad9e.tar.bz2 |
Reduce unnecessary OSD refreshes (Thanks to Marco Skambraks)
-rw-r--r-- | menu.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -4,7 +4,7 @@ * See the main source file 'xineliboutput.c' for copyright information and * how to reach the author. * - * $Id: menu.c,v 1.70 2009-10-25 13:02:33 phintuka Exp $ + * $Id: menu.c,v 1.71 2009-11-11 16:09:09 phintuka Exp $ * */ @@ -223,7 +223,6 @@ void cMenuBrowseFiles::SetHelpButtons(void) } SetHelp(help[0], help[1], help[2], help[3]); - Display(); } eOSState cMenuBrowseFiles::Delete(void) @@ -478,7 +477,7 @@ eOSState cMenuBrowseFiles::ProcessKey(eKeys Key) if (state == osUnknown) state = osContinue; - if (!HasSubMenu()) + if (!HasSubMenu() && Key != kNone) SetHelpButtons(); return state; |