slackbuilds/games/KoboDeluxe/kobodeluxe-0.5.1-glibc2.10....

12 lines
215 B
Diff

--- 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