Show whether this is a debug compile in mainmenu.

git-svn-id: svn+ssh://svn.gna.org/svn/warzone/trunk@575 4a71c877-e1ca-e34f-864e-861f7616d084
master
Dennis Schridde 2006-08-16 20:51:45 +00:00
parent b3209ba881
commit fe22ab0f64
1 changed files with 7 additions and 2 deletions

View File

@ -1608,8 +1608,13 @@ VOID displayTitleBitmap(struct _widget *psWidget, UDWORD xOffset, UDWORD yOffset
iV_SetFont(WFont);
iV_SetTextColour(-1);
snprintf(sTmp, sTmpSize, "Version %s - Revision %s - Built %s", version(), revision(),
__DATE__);
#ifdef DEBUG
snprintf( sTmp, sTmpSize, "Version %s - Revision %s - Built %s - DEBUG", version(), revision(),
__DATE__ );
#else
snprintf( sTmp, sTmpSize, "Version %s - Revision %s - Built %s", version(), revision(),
__DATE__ );
#endif
pie_DrawText270(sTmp,DISP_WIDTH-10,DISP_HEIGHT-15);
}