diff options
author | Max Horn | 2002-12-31 14:59:06 +0000 |
---|---|---|
committer | Max Horn | 2002-12-31 14:59:06 +0000 |
commit | 7f15b5d08bb233ffbc4c3c47cbd0f6b92f16821d (patch) | |
tree | 7c4fbc2d11e56b0110d621ced8971608b148a4b5 /scumm/string.cpp | |
parent | 4b6605c286110a848452300cd66230b1859ac046 (diff) | |
download | scummvm-rg350-7f15b5d08bb233ffbc4c3c47cbd0f6b92f16821d.tar.gz scummvm-rg350-7f15b5d08bb233ffbc4c3c47cbd0f6b92f16821d.tar.bz2 scummvm-rg350-7f15b5d08bb233ffbc4c3c47cbd0f6b92f16821d.zip |
more cleanup
svn-id: r6292
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r-- | scumm/string.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp index 7cd4d3c335..2ac56d03eb 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -348,11 +348,11 @@ void Scumm::CHARSET_1() void Scumm::description() { int c; - byte *buffer; + byte *buf; - buffer = _charsetBuffer; + buf = _charsetBuffer; _string[0].ypos = camera._cur.y + 88; - _string[0].xpos = (_realWidth / 2) - (_charset->getStringWidth(0, buffer) >> 1); + _string[0].xpos = (_realWidth / 2) - (_charset->getStringWidth(0, buf) >> 1); if (_string[0].xpos < 0) _string[0].xpos = 0; @@ -373,7 +373,7 @@ void Scumm::description() restoreCharsetBg(); do { - c = *buffer++; + c = *buf++; if (c == 0) { _haveMsg = 1; break; @@ -554,7 +554,7 @@ void Scumm::drawString(int a) if (_features & GF_AFTER_V7) { _charset->_hasMask = true; - // FIXME - hos is supposed to ever work, since gdi._mask_left is by default set + // FIXME - how is this supposed to ever work, since gdi._mask_left is by default set // to -1 to mark it as invalid. Hence this comparision will always leave it at -1, // which implies that if the mask was marked invalid, it will always stay so. // That seems odd and not at all to be the intended thing... or is it? |