mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- added VS2005 compability fix from Space Viking
git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@766 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -392,7 +392,7 @@ INT32 PrepareMercPopupBox( INT32 iBoxId, UINT8 ubBackgroundIndex, UINT8 ubBorde
|
||||
// reset flags
|
||||
guiFlags = 0;
|
||||
|
||||
usStringPixLength = WFStringPixLength( (UINT16 *) pString, TEXT_POPUP_FONT);
|
||||
usStringPixLength = WFStringPixLength( pString, TEXT_POPUP_FONT);
|
||||
|
||||
if( usStringPixLength < ( usWidth - ( MERC_TEXT_POPUP_WINDOW_TEXT_OFFSET_X ) * 2 ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user