From d8baa1342c4ddce823724b758c5b3e4547e84e90 Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 8 Apr 2010 21:14:49 +0000 Subject: (svn r19589) -Change: add some more useful information to the desync log and unify the formatting --- src/saveload/saveload.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/saveload') diff --git a/src/saveload/saveload.cpp b/src/saveload/saveload.cpp index 8dc12eea2..48c490f6f 100644 --- a/src/saveload/saveload.cpp +++ b/src/saveload/saveload.cpp @@ -1884,7 +1884,7 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb, boo /* General tactic is to first save the game to memory, then use an available writer * to write it to file, either in threaded mode if possible, or single-threaded */ if (mode == SL_SAVE) { // SAVE game - DEBUG(desync, 1, "save: %s\n", filename); + DEBUG(desync, 1, "save: %s", filename); _sl.write_bytes = WriteMem; _sl.excpt_uninit = UnInitMem; @@ -1908,7 +1908,7 @@ SaveOrLoadResult SaveOrLoad(const char *filename, int mode, Subdirectory sb, boo } } else { // LOAD game assert(mode == SL_LOAD); - DEBUG(desync, 1, "load: %s\n", filename); + DEBUG(desync, 1, "load: %s", filename); /* Can't fseek to 0 as in tar files that is not correct */ long pos = ftell(_sl.fh); -- cgit v1.2.3-70-g09d2