From ec4a0a53b9e7d9586d54eebef6678fd45729ef3c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Mon, 1 Nov 2021 21:12:01 +0100 Subject: [PATCH] filebrowser: minor cleanup Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/604ae4b7f86976b4ebfdc98c41c8316eb5e21d6d Author: vanhofen 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 --- src/gui/filebrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/filebrowser.cpp b/src/gui/filebrowser.cpp index 1fca0d256..cb21ef810 100644 --- a/src/gui/filebrowser.cpp +++ b/src/gui/filebrowser.cpp @@ -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