From 48dda0664e43535d4c2f51c853560f973cfb5e8f Mon Sep 17 00:00:00 2001 From: elasota Date: Fri, 27 Dec 2019 14:16:42 -0500 Subject: [PATCH] Fix banner text --- GpApp/Banner.cpp | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/GpApp/Banner.cpp b/GpApp/Banner.cpp index 4984230..24559ac 100644 --- a/GpApp/Banner.cpp +++ b/GpApp/Banner.cpp @@ -115,7 +115,13 @@ 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