aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorMartin Kiewitz2010-04-24 16:09:17 +0000
committerMartin Kiewitz2010-04-24 16:09:17 +0000
commit61a57f53e530b89a458c979184c13c7ca398c9f9 (patch)
treed741f774157ed76eab5572dda347e63dbd1c278a /engines/sci
parenteb048f48b8680aa1407eb4f2ac272526d53152dc (diff)
downloadscummvm-rg350-61a57f53e530b89a458c979184c13c7ca398c9f9.tar.gz
scummvm-rg350-61a57f53e530b89a458c979184c13c7ca398c9f9.tar.bz2
scummvm-rg350-61a57f53e530b89a458c979184c13c7ca398c9f9.zip
SCI: added special comments about r48784
svn-id: r48785
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/text16.cpp3
1 files changed, 2 insertions, 1 deletions
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)