From 3343787666b3347b586e101f0084b0638d7e236e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 26 Jun 2019 22:49:38 +0200 Subject: HDB: Fix dialog text spacing --- engines/hdb/draw-manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/hdb') 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; -- cgit v1.2.3