mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-09-24 07:06:36 +00:00
Fix banner text
This commit is contained in:
@@ -116,6 +116,12 @@ void DrawBannerMessage (Point topLeft)
|
||||
Str255 bannerStr, subStr;
|
||||
short count;
|
||||
|
||||
CGrafPtr wasGWorld;
|
||||
GDHandle wasDevice;
|
||||
GetGWorld(&wasGWorld, &wasDevice);
|
||||
|
||||
SetGWorld(workSrcMap, nullptr);
|
||||
|
||||
PasStringCopy((*thisHouse)->banner, bannerStr);
|
||||
|
||||
TextFont(applFont);
|
||||
@@ -156,6 +162,8 @@ void DrawBannerMessage (Point topLeft)
|
||||
DrawString(subStr);
|
||||
}
|
||||
ForeColor(blackColor);
|
||||
|
||||
SetGWorld(wasGWorld, wasDevice);
|
||||
}
|
||||
|
||||
//-------------------------------------------------------------- BringUpBanner
|
||||
|
Reference in New Issue
Block a user