aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-15 21:25:15 +0000
committerJohannes Schickel2009-03-15 21:25:15 +0000
commit4d84ae9f2055e5c091f4fe00f1b436b572cecace (patch)
tree4eeb135202e127156ac4c80cae61dfe89773b974
parent6e1b154484c1684802cfe44000cb371105de099f (diff)
downloadscummvm-rg350-4d84ae9f2055e5c091f4fe00f1b436b572cecace.tar.gz
scummvm-rg350-4d84ae9f2055e5c091f4fe00f1b436b572cecace.tar.bz2
scummvm-rg350-4d84ae9f2055e5c091f4fe00f1b436b572cecace.zip
Align ScummVM version string properly.
svn-id: r39432
-rw-r--r--engines/kyra/lol.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 62b3bcaa1d..337c3e375d 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -457,7 +457,8 @@ Common::Error LoLEngine::go() {
_screen->setFont(Screen::FID_6_FNT);
// Original version: (260|193) "V CD1.02 D"
- _screen->fprintString("SVM %s", 255, 193, 0x67, 0x00, 0x04, gScummVMVersion);
+ const int width = _screen->getTextWidth(gScummVMVersion);
+ _screen->fprintString("SVM %s", 300 - width, 193, 0x67, 0x00, 0x04, gScummVMVersion);
_screen->setFont(Screen::FID_9_FNT);
_screen->fadePalette(_screen->getPalette(0), 0x1E);