diff options
author | Martin Kiewitz | 2010-04-24 16:09:17 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-04-24 16:09:17 +0000 |
commit | 61a57f53e530b89a458c979184c13c7ca398c9f9 (patch) | |
tree | d741f774157ed76eab5572dda347e63dbd1c278a | |
parent | eb048f48b8680aa1407eb4f2ac272526d53152dc (diff) | |
download | scummvm-rg350-61a57f53e530b89a458c979184c13c7ca398c9f9.tar.gz scummvm-rg350-61a57f53e530b89a458c979184c13c7ca398c9f9.tar.bz2 scummvm-rg350-61a57f53e530b89a458c979184c13c7ca398c9f9.zip |
SCI: added special comments about r48784
svn-id: r48785
-rw-r--r-- | engines/sci/graphics/text16.cpp | 3 |
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) |