(svn r12957) -Codechange: do not misuse snprintf when you just want to copy a string, also use DEBUG instead of fprintf in one case.
This commit is contained in:
@@ -1580,7 +1580,7 @@ static SaveOrLoadResult SaveFileToDisk(bool threaded)
|
||||
if (_sl.excpt_uninit != NULL) _sl.excpt_uninit();
|
||||
|
||||
ShowInfo(GetSaveLoadErrorString());
|
||||
fprintf(stderr, GetSaveLoadErrorString());
|
||||
DEBUG(sl, 0, GetSaveLoadErrorString());
|
||||
|
||||
if (threaded) {
|
||||
SetAsyncSaveFinish(SaveFileError);
|
||||
|
Reference in New Issue
Block a user