From 61a57f53e530b89a458c979184c13c7ca398c9f9 Mon Sep 17 00:00:00 2001 From: Martin Kiewitz Date: Sat, 24 Apr 2010 16:09:17 +0000 Subject: SCI: added special comments about r48784 svn-id: r48785 --- engines/sci/graphics/text16.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'engines/sci') diff --git a/engines/sci/graphics/text16.cpp b/engines/sci/graphics/text16.cpp index 3687bcfd69..c00803b8c1 100644 --- a/engines/sci/graphics/text16.cpp +++ b/engines/sci/graphics/text16.cpp @@ -218,7 +218,8 @@ int16 GfxText16::GetLongest(const char *text, int16 maxWidth, GuiResourceId orgF uint16 nextChar; // we remove the last char only, if maxWidth was actually equal width before adding the last char - // otherwise we won't get the same cutting as in sierra sci + // otherwise we won't get the same cutting as in sierra pc98 sci + // note: changing the while() instead will NOT WORK. it would break all sorts of regular sci games if (maxWidth == (width - _font->getCharWidth(curChar))) { maxChars--; if (curChar > 0xFF) -- cgit v1.2.3