From 258901bab96f0050385a9912c8ea0fe2a41b2d6f Mon Sep 17 00:00:00 2001 From: Nicola Mettifogo Date: Wed, 19 Sep 2007 08:40:12 +0000 Subject: Merged common/stdafx.h into common/scummsys.h. All referencing files have been updated. svn-id: r28966 --- engines/kyra/text.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/kyra/text.cpp') diff --git a/engines/kyra/text.cpp b/engines/kyra/text.cpp index e62410ca19..9428d80725 100644 --- a/engines/kyra/text.cpp +++ b/engines/kyra/text.cpp @@ -23,7 +23,7 @@ * */ -#include "common/stdafx.h" + #include "kyra/kyra.h" #include "kyra/screen.h" @@ -76,7 +76,7 @@ int TextDisplayer::getCharLength(const char *str, int len) { if (c >= 0x7F && _vm->gameFlags().lang == Common::JA_JPN) { c = READ_LE_UINT16(str - 1); ++str; - } + } i += _screen->getCharWidth(*str++); ++charsCount; } -- cgit v1.2.3