Revert useless memleak "fix".
git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@4352 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
0508f962b5
commit
9c70b95b60
|
@ -1427,15 +1427,10 @@ void addSideText(UDWORD id, UDWORD PosX, UDWORD PosY, const char *txt)
|
|||
// show a background piccy
|
||||
static void displayTitleBitmap(WIDGET *psWidget, UDWORD xOffset, UDWORD yOffset, PIELIGHT *pColours)
|
||||
{
|
||||
static char versionString[MAX_STR_LENGTH] = {'\0'};
|
||||
|
||||
if (versionString[0] == '\0')
|
||||
strlcpy(versionString, version_getFormattedVersionString(), sizeof(versionString));
|
||||
|
||||
iV_SetFont(font_regular);
|
||||
iV_SetTextColour(WZCOL_TEXT_BRIGHT);
|
||||
|
||||
iV_DrawTextRotated(versionString, pie_GetVideoBufferWidth() - 10, pie_GetVideoBufferHeight() - 15, 270.f);
|
||||
iV_DrawTextRotated(version_getFormattedVersionString(), pie_GetVideoBufferWidth() - 10, pie_GetVideoBufferHeight() - 15, 270.f);
|
||||
}
|
||||
|
||||
// ////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue