aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/font.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2009-12-17 07:55:08 +0000
committerPaul Gilbert2009-12-17 07:55:08 +0000
commit575308cea724b214d7f83a06cf8819f15b1e4f75 (patch)
tree19d691025b2c9040698b196cd66b74f4fffaed2e /engines/m4/font.cpp
parent690a410423207c3df4c6cf9427167c0948f08ad4 (diff)
downloadscummvm-rg350-575308cea724b214d7f83a06cf8819f15b1e4f75.tar.gz
scummvm-rg350-575308cea724b214d7f83a06cf8819f15b1e4f75.tar.bz2
scummvm-rg350-575308cea724b214d7f83a06cf8819f15b1e4f75.zip
Implemented basic message parsing
svn-id: r46402
Diffstat (limited to 'engines/m4/font.cpp')
-rw-r--r--engines/m4/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/m4/font.cpp b/engines/m4/font.cpp
index a0ca27f745..a6ddeca830 100644
--- a/engines/m4/font.cpp
+++ b/engines/m4/font.cpp
@@ -252,7 +252,7 @@ int32 Font::write(M4Surface *surface, const char *text, int x, int y, int width,
}
-int32 Font::getWidth(char *text, int spaceWidth) {
+int32 Font::getWidth(const char *text, int spaceWidth) {
/*
if (custom_ascii_converter) { // if there is a function to convert the extended ASCII characters
custom_ascii_converter(out_string); // call it with the string