mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
- filebrowser: fix e9d8ab8a5e37ae44b3ca8185463faa7e8aa2a493; vol. 2
This commit is contained in:
@@ -1173,7 +1173,11 @@ void CFileBrowser::paintItem(unsigned int pos)
|
||||
unsigned int currpos = liststart + pos;
|
||||
|
||||
if (currpos >= filelist.size())
|
||||
{
|
||||
// just paint an empty line
|
||||
frameBuffer->paintBoxRel(x,ypos, width- 15, fheight, COL_MENUCONTENT_PLUS_0);
|
||||
return;
|
||||
}
|
||||
|
||||
actual_file = &filelist[currpos];
|
||||
|
||||
|
Reference in New Issue
Block a user