aboutsummaryrefslogtreecommitdiff
path: root/scumm/nut_renderer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/nut_renderer.cpp')
-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);