GRAPHICS: Delete MacFont in MacText
This commit is contained in:
parent
af664fe757
commit
ed2f09b13f
3 changed files with 6 additions and 2 deletions
|
@ -37,6 +37,11 @@ const Font *MacFontRun::getFont() {
|
|||
return font;
|
||||
}
|
||||
|
||||
|
||||
MacText::~MacText(){
|
||||
delete _macFont;
|
||||
}
|
||||
|
||||
MacText::MacText(Common::String s, MacWindowManager *wm, const MacFont *macFont, int fgcolor, int bgcolor, int maxWidth, TextAlign textAlignment) {
|
||||
_str = s;
|
||||
_wm = wm;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue