mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
-add rec icon
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@707 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -162,7 +162,7 @@ void CImageInfo::paint_pig(int px, int py, int w, int h)
|
||||
void CImageInfo::paintLine(int xpos, int font, const char* text)
|
||||
{
|
||||
char buf[100];
|
||||
sprintf((char*) buf, "%s", text);
|
||||
snprintf((char*) buf,sizeof(buf), "%s", text);
|
||||
//g_Font[font]->RenderString(xpos, ypos, width-10, buf, COL_MENUCONTENT, 0, true);
|
||||
g_Font[font]->RenderString(xpos, ypos, width-10, buf, COL_INFOBAR, 0, true);
|
||||
}
|
||||
@@ -197,7 +197,7 @@ void CImageInfo::paint()
|
||||
|
||||
static CFlashVersionInfo versionInfo(version);
|
||||
const char * releaseCycle = versionInfo.getReleaseCycle();
|
||||
sprintf((char*) imagedate, "%s %s", versionInfo.getDate(), versionInfo.getTime());
|
||||
snprintf((char*) imagedate,sizeof(imagedate), "%s %s", versionInfo.getDate(), versionInfo.getTime());
|
||||
|
||||
ypos += iheight;
|
||||
paintLine(xpos , font_info, g_Locale->getText(LOCALE_IMAGEINFO_IMAGE));
|
||||
|
Reference in New Issue
Block a user