aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorPaul Gilbert2013-06-17 23:06:00 -0400
committerPaul Gilbert2013-06-17 23:06:00 -0400
commit65a6308a5a2dce2410ab8509e89a1c0e09d22558 (patch)
treebf41d8c9598a00c12a4b07eed004c7f8a66ab54f /engines/voyeur
parentb135ce3d28c0558433807fab73bd06514a1ec62f (diff)
downloadscummvm-rg350-65a6308a5a2dce2410ab8509e89a1c0e09d22558.tar.gz
scummvm-rg350-65a6308a5a2dce2410ab8509e89a1c0e09d22558.tar.bz2
scummvm-rg350-65a6308a5a2dce2410ab8509e89a1c0e09d22558.zip
VOYEUR: Fix crash on shutdown
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/voyeur/files.cpp b/engines/voyeur/files.cpp
index 992fb5ad05..9e97dea1cd 100644
--- a/engines/voyeur/files.cpp
+++ b/engines/voyeur/files.cpp
@@ -1000,6 +1000,7 @@ int ViewPortResource::drawText(const Common::String &msg) {
gfxManager.sDrawPic(&_fontChar, this, Common::Point(xp, yp));
+ _fontChar._imgData = NULL;
xp += charWidth + padding;
msgWidth += charWidth + padding;
}