aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorPaweł Kołodziejski2002-12-25 14:09:54 +0000
committerPaweł Kołodziejski2002-12-25 14:09:54 +0000
commit3bbfde325961b5d8781946a761d451c5d2b77351 (patch)
treed31e7213250758efd1bfc237429972511458e37e /scumm
parentc480833be721ccfec327e68df430ccaad11868d5 (diff)
downloadscummvm-rg350-3bbfde325961b5d8781946a761d451c5d2b77351.tar.gz
scummvm-rg350-3bbfde325961b5d8781946a761d451c5d2b77351.tar.bz2
scummvm-rg350-3bbfde325961b5d8781946a761d451c5d2b77351.zip
fixed width font problem in NutRenderer
svn-id: r6128
Diffstat (limited to 'scumm')
-rw-r--r--scumm/nut_renderer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/nut_renderer.cpp b/scumm/nut_renderer.cpp
index 98fbc6a22e..9c86cea427 100644
--- a/scumm/nut_renderer.cpp
+++ b/scumm/nut_renderer.cpp
@@ -188,8 +188,8 @@ void NutRenderer::drawString(char *string, int32 x, int32 y, byte color, int32 m
return;
}
- x += getCharWidth(string[l]);
drawChar(string[l], x, y, 0);
+ x += getCharWidth(string[l]);
l++;
} while (string[l] != 0);