filebrowser: minor cleanup

Origin commit data
------------------
Branch: ni/coolstream
Commit: 604ae4b7f8
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-11-01 (Mon, 01 Nov 2021)

Origin message was:
------------------
- filebrowser: minor cleanup

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-11-01 21:12:01 +01:00
parent c7eed4bd3b
commit ec4a0a53b9

View File

@@ -1276,7 +1276,7 @@ void CFileBrowser::paintItem(unsigned int pos)
icon_w = g_IconFont->getWidestWidth();
int icon_w_real = g_IconFont->getRenderWidth(fileicon);
int spacer_x = (icon_w - icon_w_real) / 2;
g_IconFont->RenderString(x + OFFSET_INNER_MID + spacer_x, ypos + g_IconFont->getHeight() /*item_height - spacer_y*/, icon_w_real, fileicon, color);
g_IconFont->RenderString(x + OFFSET_INNER_MID + spacer_x, ypos + g_IconFont->getHeight(), icon_w_real, fileicon, color);
g_IconFont->setSize(iconfont_size);
}
else