aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2010-09-19 08:18:25 +0000
committerFilippos Karapetis2010-09-19 08:18:25 +0000
commit64f1fc23234256fc9aedccbde3d360efe2e99d78 (patch)
treee771920f3b87b92c754fc2e45ea1781ebf273b47
parent6537cb6463411c596ad2e8cce10a7f6138fa0841 (diff)
downloadscummvm-rg350-64f1fc23234256fc9aedccbde3d360efe2e99d78.tar.gz
scummvm-rg350-64f1fc23234256fc9aedccbde3d360efe2e99d78.tar.bz2
scummvm-rg350-64f1fc23234256fc9aedccbde3d360efe2e99d78.zip
SAGA: Fixed bug #3068840 - "ITE: ScummVM crashes when talking on the ferry"
svn-id: r52799
-rw-r--r--engines/saga/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/font.cpp b/engines/saga/font.cpp
index 9589c68f90..47f1a122c0 100644
--- a/engines/saga/font.cpp
+++ b/engines/saga/font.cpp
@@ -610,7 +610,7 @@ void Font::textDrawRect(FontId fontId, const char *text, const Common::Rect &rec
}
w_total = 0;
len_total = 0;
- if (wc == 0) {
+ if (wc == 0 && measurePointer) {
searchPointer = measurePointer + 1;
}
wc = 0;