mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 17:01:08 +02:00
fix git build
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@539 e54a6e83-5905-42d5-8d5c-058d10e6a962
Origin commit data
------------------
Branch: ni/coolstream
Commit: adc62e8ebe
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2010-04-08 (Thu, 08 Apr 2010)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -39,6 +39,7 @@
|
||||
|
||||
#include "svn_version.h"
|
||||
#define SVN_REV "SVN Rev.:"
|
||||
#define GIT_REV "GIT Build:"
|
||||
extern cVideo * videoDecoder;
|
||||
|
||||
extern CRemoteControl * g_RemoteControl; /* neutrino.cpp */
|
||||
@@ -89,7 +90,11 @@ void CImageInfo::Init(void)
|
||||
offset = tmpoffset;
|
||||
}
|
||||
}
|
||||
#ifdef SVNVERSION
|
||||
int off_tmp = g_Font[font_info]->getRenderWidth(SVN_REV);
|
||||
#else
|
||||
int off_tmp = g_Font[font_info]->getRenderWidth(GIT_REV);
|
||||
#endif
|
||||
if(off_tmp > offset)
|
||||
offset = off_tmp;
|
||||
|
||||
@@ -207,9 +212,13 @@ void CImageInfo::paint()
|
||||
paintLine(xpos+offset, font_info, releaseCycle);
|
||||
|
||||
ypos += iheight;
|
||||
#ifdef SVNVERSION
|
||||
paintLine(xpos , font_info, SVN_REV);
|
||||
paintLine(xpos+offset, font_info, SVNVERSION );
|
||||
|
||||
#else
|
||||
paintLine(xpos , font_info, GIT_REV);
|
||||
paintLine(xpos+offset, font_info, BUILT_DATE );
|
||||
#endif
|
||||
ypos += iheight;
|
||||
paintLine(xpos , font_info, g_Locale->getText(LOCALE_IMAGEINFO_CREATOR));
|
||||
paintLine(xpos+offset, font_info, creator);
|
||||
|
Reference in New Issue
Block a user