filebrowser: fix 8b2c0a9a0d86204e9d1e2d9f8aea5950d650113e; vol. 2

Origin commit data
------------------
Commit: efa4cae487
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-10-20 (Thu, 20 Oct 2016)

Origin message was:
------------------
- filebrowser: fix 8b2c0a9a0d86204e9d1e2d9f8aea5950d650113e; vol. 2
This commit is contained in:
vanhofen
2016-10-20 00:27:36 +02:00
parent 2b467e78a7
commit 31903753df

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