mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-20 04:09:16 +00:00
Use puts instead of printf.
This commit is contained in:
@ -140,24 +140,24 @@ void plPageOptimizer::Optimize()
|
||||
|
||||
if (!loaded)
|
||||
{
|
||||
printf("no scene node.\n");
|
||||
puts("no scene node.");
|
||||
}
|
||||
else if (fOptimized)
|
||||
{
|
||||
plFileUtils::RemoveFile(fTempPagePath);
|
||||
printf("already optimized.\n");
|
||||
puts("already optimized.");
|
||||
}
|
||||
else if (oldSize == newSize)
|
||||
{
|
||||
plFileUtils::RemoveFile(fPagePath, true);
|
||||
plFileUtils::FileMove(fTempPagePath, fPagePath);
|
||||
|
||||
printf("complete\n");
|
||||
puts("complete");
|
||||
}
|
||||
else
|
||||
{
|
||||
plFileUtils::RemoveFile(fTempPagePath);
|
||||
printf("failed. File sizes different\n");
|
||||
puts("failed. File sizes different");
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user