mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
Revert "- filebrowser: fix e9d8ab8a5e37ae44b3ca8185463faa7e8aa2a493"
This reverts commit 85cd0952f2
.
This commit is contained in:
@@ -1172,6 +1172,9 @@ void CFileBrowser::paintItem(unsigned int pos)
|
||||
std::string fileicon;
|
||||
unsigned int currpos = liststart + pos;
|
||||
|
||||
if (currpos >= filelist.size())
|
||||
return;
|
||||
|
||||
actual_file = &filelist[currpos];
|
||||
|
||||
bool i_selected = currpos == selected;
|
||||
@@ -1191,9 +1194,6 @@ void CFileBrowser::paintItem(unsigned int pos)
|
||||
frameBuffer->paintBoxRel(x,ypos, width- 15, fheight, COL_MENUCONTENT_PLUS_0);
|
||||
frameBuffer->paintBoxRel(x,ypos, width- 15, fheight, bgcolor, i_radius);
|
||||
|
||||
if (currpos >= filelist.size())
|
||||
return;
|
||||
|
||||
if (g_settings.filebrowser_showrights == 0 && S_ISREG(actual_file->Mode))
|
||||
colwidth2 = 0;
|
||||
else
|
||||
|
Reference in New Issue
Block a user