(svn r7048) -Cleanup: DEBUG doesn't need a newline character, use DEBUG instead of printf and the

verb is build/built/built not build/*/build or build/*/builded.
This commit is contained in:
Darkvater
2006-11-03 01:18:40 +00:00
parent 2fb0bf317e
commit 6b44b88e9f
7 changed files with 11 additions and 11 deletions

View File

@@ -1629,7 +1629,7 @@ int GetSavegameType(char *file)
f = fopen(file, "rb");
if (fread(&hdr, sizeof(hdr), 1, f) != 1) {
printf("Savegame is obsolete or invalid format.\n");
DEBUG(misc, 0) ("[Sl] Savegame is obsolete or invalid format");
mode = SL_LOAD; // don't try to get filename, just show name as it is written
} else {
// see if we have any loader for this type.