mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Merged from revision: 7134
- Externalized country name and noun to cities.xml (by Buggler) git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@7135 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
+8
-2
@@ -6264,7 +6264,7 @@ BOOLEAN RenderWWWProgramTitleBar( void )
|
||||
HVOBJECT hHandle;
|
||||
VOBJECT_DESC VObjectDesc;
|
||||
INT32 iIndex = 0;
|
||||
CHAR16 sString[256];
|
||||
CHAR16 sString[256], sTemp[256];
|
||||
|
||||
// title bar - load
|
||||
VObjectDesc.fCreateFlags=VOBJECT_CREATE_FROMFILE;
|
||||
@@ -6298,7 +6298,13 @@ BOOLEAN RenderWWWProgramTitleBar( void )
|
||||
{
|
||||
iIndex = guiCurrentLaptopMode - LAPTOP_MODE_WWW-1;
|
||||
|
||||
swprintf( sString, L"%s - %s", pWebTitle[0], pWebPagesTitles[ iIndex ] );
|
||||
if( iIndex >= 33 && iIndex <= 36 )
|
||||
{
|
||||
swprintf( sTemp, pWebPagesTitles[ iIndex ], pCountryNames[COUNTRY_NAME] );
|
||||
swprintf( sString, L"%s - %s", pWebTitle[0], sTemp );
|
||||
}
|
||||
else
|
||||
swprintf( sString, L"%s - %s", pWebTitle[0], pWebPagesTitles[ iIndex ] );
|
||||
mprintf(iScreenWidthOffset + 140 ,iScreenHeightOffset + 33 ,sString);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user