Applies to drawString() too.
svn-id: r17181
This commit is contained in:
parent
3025db0d07
commit
89ce70d724
1 changed files with 5 additions and 2 deletions
|
@ -434,7 +434,6 @@ void ScummEngine::drawString(int a, const byte *msg) {
|
||||||
|
|
||||||
fontHeight = _charset->getFontHeight();
|
fontHeight = _charset->getFontHeight();
|
||||||
|
|
||||||
|
|
||||||
// trim from the right
|
// trim from the right
|
||||||
byte *tmp = buf;
|
byte *tmp = buf;
|
||||||
space = NULL;
|
space = NULL;
|
||||||
|
@ -491,7 +490,11 @@ void ScummEngine::drawString(int a, const byte *msg) {
|
||||||
} else {
|
} else {
|
||||||
_charset->_left = _charset->_startLeft;
|
_charset->_left = _charset->_startLeft;
|
||||||
}
|
}
|
||||||
_charset->_top += fontHeight;
|
if (_string[0].height) {
|
||||||
|
_charset->_nextTop += _string[0].height;
|
||||||
|
} else {
|
||||||
|
_charset->_top += fontHeight;
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
case 12:
|
case 12:
|
||||||
color = buf[i] + (buf[i + 1] << 8);
|
color = buf[i] + (buf[i + 1] << 8);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue