- filebrowser: fix e9d8ab8a5e37ae44b3ca8185463faa7e8aa2a493; vol. 2

This commit is contained in:
svenhoefer
2016-10-20 00:27:36 +02:00
parent a2b1da8bc9
commit efa4cae487

View File

@@ -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];