mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
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:
@@ -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