aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorEugene Sandulenko2019-06-26 22:49:38 +0200
committerEugene Sandulenko2019-09-03 17:17:01 +0200
commit3343787666b3347b586e101f0084b0638d7e236e (patch)
tree017a1c80e9581bf9b26c12adcd095d507f0e9545 /engines/hdb
parentf4ec024460b7857dc24f8997b5fa2bf9d82577d3 (diff)
downloadscummvm-rg350-3343787666b3347b586e101f0084b0638d7e236e.tar.gz
scummvm-rg350-3343787666b3347b586e101f0084b0638d7e236e.tar.bz2
scummvm-rg350-3343787666b3347b586e101f0084b0638d7e236e.zip
HDB: Fix dialog text spacing
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/draw-manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/draw-manager.cpp b/engines/hdb/draw-manager.cpp
index 1232f1c98f..c522d948bd 100644
--- a/engines/hdb/draw-manager.cpp
+++ b/engines/hdb/draw-manager.cpp
@@ -545,7 +545,7 @@ void DrawMan::drawText(const char *string) {
g_system->copyRectToScreen(g_hdb->_drawMan->_globalSurface.getBasePtr(_cursorX, _cursorY), g_hdb->_drawMan->_globalSurface.pitch, _cursorX, _cursorY, width, _fontHeader.height);
// Advance the cursor
- _cursorX += width + _fontHeader.kerning * kFontIncrement;
+ _cursorX += width + _fontHeader.kerning + kFontIncrement;
if (_cursorX > kScreenWidth) {
_cursorX = 0;
_cursorY += _fontHeader.height + _fontHeader.leading;