diff options
author | Martin Kiewitz | 2010-04-19 15:30:21 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-04-19 15:30:21 +0000 |
commit | b5851dab00986c7e441eecc06b3630a3e58e7d8d (patch) | |
tree | c72ef47c1a1d683ecbd9aeff8eff1be9ccf2f62e | |
parent | 71331c7f53d91b3e46b65b46aaa50d35f13176cc (diff) | |
download | scummvm-rg350-b5851dab00986c7e441eecc06b3630a3e58e7d8d.tar.gz scummvm-rg350-b5851dab00986c7e441eecc06b3630a3e58e7d8d.tar.bz2 scummvm-rg350-b5851dab00986c7e441eecc06b3630a3e58e7d8d.zip |
SCI: added even more comments about the 0xD 0xA inside GetLongest()
svn-id: r48718
-rw-r--r-- | engines/sci/graphics/text16.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/graphics/text16.cpp b/engines/sci/graphics/text16.cpp index ea648c7ad2..db73f507f3 100644 --- a/engines/sci/graphics/text16.cpp +++ b/engines/sci/graphics/text16.cpp @@ -179,6 +179,11 @@ int16 GfxText16::GetLongest(const char *text, int16 maxWidth, GuiResourceId orgF break; // We need to add 0xD, 0xA and 0xD 0xA to curCharCount and then exit + // which means, we split text like + // 'Mature, experienced software analyst available.' 0xD 0xA + // 'Bug installation a proven speciality. "No version too clean."' (normal game text, this is from lsl2) + // and 0xA '-------' 0xA (which is the official sierra subtitle separator) + // Sierra did it the same way. case 0xD: // Check, if 0xA is following, if so include it as well if ((*(const unsigned char *)text) == 0xA) |