aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2017-08-05 23:55:44 +0200
committerEugene Sandulenko2017-08-05 23:55:44 +0200
commit9d2ca34ae4e7ae710e51edb4259006caf211de5b (patch)
tree4c84cae9135834526e466751bbdfad75eb827341
parenta00ca84bdb2f5b69f5c620fcb1fe1a13c2bfba32 (diff)
downloadscummvm-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.cpp4
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) {