diff options
| author | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-14 13:17:17 +0200 |
|---|---|---|
| committer | Martin Schirrmacher <vdr.skinflatplus@schirrmacher.eu> | 2014-06-14 13:17:17 +0200 |
| commit | f13035e7401334e3511eaa4c093a8dd177550a3b (patch) | |
| tree | 65e8b62c816ca9ada12be207e663e0e59b036a6a | |
| parent | 69d83281c43f10d34bf27cfda13686642d52f0ea (diff) | |
| download | skin-flatplus-f13035e7401334e3511eaa4c093a8dd177550a3b.tar.gz skin-flatplus-f13035e7401334e3511eaa4c093a8dd177550a3b.tar.bz2 | |
try to fix #1868
| -rw-r--r-- | displaymenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/displaymenu.c b/displaymenu.c index 04310969..8883780a 100644 --- a/displaymenu.c +++ b/displaymenu.c @@ -317,7 +317,7 @@ void cFlatDisplayMenu::SetItem(const char *Text, int Index, bool Current, bool S int xt = Tab(i); int xt2 = Tab(i+1); - if( xt2 == 0 || i == MaxTabs ) + if( xt2 == 0 || i == MaxTabs || (GetTabbedText(Text, i+1) == NULL) ) xt2 = menuItemWidth; if( xt >= menuItemWidth ) |
