--- KoboDeluxe-0.5.1/graphics/window.cpp.orig 2010-05-24 18:48:48.024498000 +0200 +++ KoboDeluxe-0.5.1/graphics/window.cpp 2010-05-24 18:48:58.684496628 +0200 @@ -398,7 +398,7 @@ void window_t::center_token_fxp(int _x, */ if(token) { - char *tok = strchr(txt, token); + const char *tok = strchr(txt, token); if(tok) tokpos = tok-txt; else