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)
{
if(!rawmode)
fprintf(dfout_C,getANSIColor(index));
fprintf(dfout_C, "%s", getANSIColor(index));
else
{
const char * colstr = getANSIColor(index);
@ -761,4 +761,4 @@ void Console::msleep (unsigned int msec)
{
if (msec > 1000) sleep(msec/1000000);
usleep((msec % 1000000) * 1000);
}
}