GRAPHICS: MACGUI: Fix crash on MacText reallocation

This commit is contained in:
Eugene Sandulenko 2019-12-01 16:26:25 +01:00
parent 4fbcc337af
commit 3a7a3e2009

View File

@ -49,7 +49,6 @@ const Common::String MacFontRun::toString() {
MacText::~MacText() {
delete _surface;
delete _macFont;
}
MacText::MacText(Common::U32String s, MacWindowManager *wm, const MacFont *macFont, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment, int interlinear) {