1
0
mirror of https://github.com/OpenTTD/OpenTTD synced 2026-01-22 19:54:06 +01:00

(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:
rubidium
2008-05-05 18:27:57 +00:00
parent 0eab2c07c2
commit f200fc3b99
3 changed files with 4 additions and 4 deletions

View File

@@ -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);