From d454c9b3793fdda9551d7833da08ab503fc10689 Mon Sep 17 00:00:00 2001 From: Bertrand Augereau Date: Sun, 6 Sep 2009 10:51:20 +0000 Subject: Minor constness fixes svn-id: r43974 --- engines/scumm/smush/smush_font.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/scumm') diff --git a/engines/scumm/smush/smush_font.cpp b/engines/scumm/smush/smush_font.cpp index 328fe694c1..75abe9a772 100644 --- a/engines/scumm/smush/smush_font.cpp +++ b/engines/scumm/smush/smush_font.cpp @@ -171,7 +171,7 @@ void SmushFont::drawString(const char *str, byte *buffer, int dst_width, int dst while (str) { char line[256]; - char *pos = (char *)strchr(str, '\n'); + const char *pos = strchr(str, '\n'); if (pos) { memcpy(line, str, pos - str - 1); line[pos - str - 1] = 0; -- cgit v1.2.3