diff options
author | Eugene Sandulenko | 2017-08-05 23:55:44 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-08-05 23:55:44 +0200 |
commit | 9d2ca34ae4e7ae710e51edb4259006caf211de5b (patch) | |
tree | 4c84cae9135834526e466751bbdfad75eb827341 | |
parent | a00ca84bdb2f5b69f5c620fcb1fe1a13c2bfba32 (diff) | |
download | scummvm-rg350-9d2ca34ae4e7ae710e51edb4259006caf211de5b.tar.gz scummvm-rg350-9d2ca34ae4e7ae710e51edb4259006caf211de5b.tar.bz2 scummvm-rg350-9d2ca34ae4e7ae710e51edb4259006caf211de5b.zip |
GRAPHICS: MACGUI: Enforce surface cleanup on MacText clearing
-rw-r--r-- | graphics/macgui/mactext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/mactext.cpp b/graphics/macgui/mactext.cpp index 04a0e90be9..d7c3795070 100644 --- a/graphics/macgui/mactext.cpp +++ b/graphics/macgui/mactext.cpp @@ -416,9 +416,9 @@ void MacText::clearText() { _textLines.clear(); _str.clear(); - recalcDims(); + _surface->clear(_bgcolor); - render(); + recalcDims(); } void MacText::replaceLastLine(Common::String str) { |