Fix format warning in StatusBar class.
@@ -32,6 +32,6 @@ void StatusBar::render() {
con->rect(x,y,w,h,true,TCOD_BKGND_SET);
if ( focus && focus->tip ) {
con->setDefaultForeground(fore);
- con->printRectEx(x+1,y,w,h,TCOD_BKGND_NONE,TCOD_LEFT,focus->tip);
+ con->printRectEx(x+1,y,w,h,TCOD_BKGND_NONE,TCOD_LEFT,"%s",focus->tip);
}
}
