diff options
Diffstat (limited to 'engines/director/cachedmactext.cpp')
-rw-r--r-- | engines/director/cachedmactext.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/director/cachedmactext.cpp b/engines/director/cachedmactext.cpp index fecd9e933e..a479376996 100644 --- a/engines/director/cachedmactext.cpp +++ b/engines/director/cachedmactext.cpp @@ -33,6 +33,8 @@ void CachedMacText::makeMacText() { assert(_width != -1); assert(_wm != NULL); + delete _macText; + if ((int)_textCast->textAlign == -1) _align = (Graphics::TextAlign)3; else @@ -96,8 +98,9 @@ void CachedMacText::clip(int width) { } void CachedMacText::forceDirty() { - // STUB - assert(false); + _dirty = true; + + makeMacText(); } const Graphics::ManagedSurface *CachedMacText::getSurface() { |