aboutsummaryrefslogtreecommitdiff
path: root/engines/supernova/state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/supernova/state.cpp')
-rw-r--r--engines/supernova/state.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/supernova/state.cpp b/engines/supernova/state.cpp
index 37ff15f808..0b4b78fddd 100644
--- a/engines/supernova/state.cpp
+++ b/engines/supernova/state.cpp
@@ -209,7 +209,7 @@ void GameManager::initGui() {
for (int i = 0; i < ARRAYSIZE(_guiCommandButton); ++i) {
int width;
if (i < 9)
- width = _vm->characterWidth(guiCommand_DE[i]) + 2;
+ width = _vm->textWidth(guiCommand_DE[i]) + 2;
else
width = 320 - x;