Fix some warnings.

This commit is contained in:
theoddone33
2004-11-21 00:34:57 +00:00
parent 5e8f5351cc
commit f8826ffafc
7 changed files with 17 additions and 14 deletions

View File

@@ -169,9 +169,9 @@ char *generate_filename(void)
for(i=0;i<10000;i++)
{
#ifdef __LINUX__
sprintf(tmp, "_%04d.png\0", i);
sprintf(tmp, "_%04d.png", i);
#else
sprintf(tmp, " %04d.png\0", i);
sprintf(tmp, " %04d.png", i);
#endif
if(stat(filename, &buf)==-1)
break;