mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 07:59:09 +00:00
(svn r2609) - Feature: remove extension from savegames/scenarios when browsing the folders.
This commit is contained in:
@@ -1641,7 +1641,7 @@ void GetOldSaveGameName(char *title, const char *file)
|
||||
return;
|
||||
|
||||
if (fread(title, 1, 48, f) != 48)
|
||||
title[0] = '\0';
|
||||
snprintf(title, 48, "Corrupt file");
|
||||
|
||||
fclose(f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user