filebrowser: fix 4a9f0cad640137d243772c7b3ebcacc64d80bd00; vol. 2

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

Origin message was:
------------------
- filebrowser: fix 4a9f0cad640137d243772c7b3ebcacc64d80bd00; vol. 2

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2016-10-20 00:27:36 +02:00
parent 3124e6bff1
commit ad62b9afe7

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