fix minor gcc warning

develop
jj 2012-06-13 00:21:23 +02:00
parent 0285448367
commit c364b42049
1 changed files with 2 additions and 2 deletions

@ -255,7 +255,7 @@ namespace DFHack
void color(Console::color_value index) void color(Console::color_value index)
{ {
if(!rawmode) if(!rawmode)
fprintf(dfout_C,getANSIColor(index)); fprintf(dfout_C, "%s", getANSIColor(index));
else else
{ {
const char * colstr = getANSIColor(index); const char * colstr = getANSIColor(index);