f-fix warning

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@551 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Commit: 5ac3f5c8a7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-04-22 (Thu, 22 Apr 2010)
This commit is contained in:
Jacek Jendrzej
2010-04-22 11:46:29 +00:00
parent a486dbf8b7
commit de0ad6897b

View File

@@ -29,11 +29,11 @@
void paintButtons(CFrameBuffer * const frameBuffer, Font * const font, const CLocaleManager * const localemanager, const int x, const int y, const unsigned int buttonwidth, const unsigned int count, const struct button_label * const content)
{
int fh = font->getHeight();
for (unsigned int i = 0; i < count; i++)
{
#if 0
int iw, ih, yy;
int fh = font->getHeight();
frameBuffer->getIconSize(content[i].button, &iw, &ih);
yy = y + (fh - ih)/2;
frameBuffer->paintIcon(content[i].button, x + i * buttonwidth, yy);