From 64f1fc23234256fc9aedccbde3d360efe2e99d78 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 19 Sep 2010 08:18:25 +0000 Subject: SAGA: Fixed bug #3068840 - "ITE: ScummVM crashes when talking on the ferry" svn-id: r52799 --- engines/saga/font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3