aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/hdb/gfx.cpp2
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);
}