diff options
author | Nipun Garg | 2019-08-15 00:09:19 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:33 +0200 |
commit | ae17affac04d7cb1ed64592c87b3473bc5ad2d38 (patch) | |
tree | d618056727e7533743219a88e62c4f718f656a7f | |
parent | 680aeba0a4af332391ddccb650a6d8e20e41d2f7 (diff) | |
download | scummvm-rg350-ae17affac04d7cb1ed64592c87b3473bc5ad2d38.tar.gz scummvm-rg350-ae17affac04d7cb1ed64592c87b3473bc5ad2d38.tar.bz2 scummvm-rg350-ae17affac04d7cb1ed64592c87b3473bc5ad2d38.zip |
HDB: Fix centerPrint() Height
-rw-r--r-- | engines/hdb/gfx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/gfx.cpp b/engines/hdb/gfx.cpp index 6514b592b0..515605f753 100644 --- a/engines/hdb/gfx.cpp +++ b/engines/hdb/gfx.cpp @@ -1043,7 +1043,7 @@ void Gfx::centerPrint(const char *string) { totalWidth += _charInfoBlocks[string[i]]->width; } - setCursor(g_hdb->_screenWidth / 2 - totalWidth / 2, _cursorX); + setCursor(g_hdb->_screenWidth / 2 - totalWidth / 2, _cursorY); drawText(string); } |