mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
add rec icon
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@707 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: bb2df84f63
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-08-05 (Thu, 05 Aug 2010)
Origin message was:
------------------
-add rec icon
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@707 e54a6e83-5905-42d5-8d5c-058d10e6a962
------------------
This commit was generated by Migit
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