mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-04 06:00:15 +00:00
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
This commit is contained in:
parent
28a006ec1f
commit
ad41b2dbd4
@ -532,6 +532,7 @@ void SanitizeFilename(char *filename)
|
||||
/* The following characters are not allowed in filenames
|
||||
* on at least one of the supported operating systems: */
|
||||
case ':': case '\\': case '*': case '?': case '/':
|
||||
case '<': case '>': case '|': case '"':
|
||||
*filename = '_';
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user