summaryrefslogtreecommitdiff
blob: 1095cc1c73305b052a45de1fb7f421ee51df44c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- graphics/window.cpp
+++ graphics/window.cpp
@@ -398,7 +398,7 @@
 		 */
 		if(token)
 		{
-			char *tok = strchr(txt, token);
+			const char *tok = strchr(txt, token);
 			if(tok)
 				tokpos = tok-txt;
 			else