mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
More stuff, fix saved games
This commit is contained in:
@@ -465,8 +465,7 @@ void SetDialogNumToStr (Dialog *theDialog, short item, long theNumber)
|
||||
short itemType;
|
||||
|
||||
NumToString(theNumber, theString);
|
||||
GetDialogItem(theDialog, item, &itemType, &itemHandle, &itemRect);
|
||||
SetDialogItemText(itemHandle, theString);
|
||||
theDialog->GetItems()[item - 1].GetWidget()->SetString(theString);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- GetDialogNumFromStr
|
||||
|
||||
Reference in New Issue
Block a user