diff options
author | glx <glx@openttd.org> | 2007-06-22 19:30:59 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2007-06-22 19:30:59 +0000 |
commit | ad41b2dbd41453d07303dfa925e6af6698ea391e (patch) | |
tree | eab9a1a17af009aba2bbb02cc0d7d69883e75b03 /src | |
parent | 28a006ec1f19e2ec05956999f189039cdeba88d0 (diff) | |
download | openttd-ad41b2dbd41453d07303dfa925e6af6698ea391e.tar.xz |
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
Diffstat (limited to 'src')
-rw-r--r-- | src/fileio.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileio.cpp b/src/fileio.cpp index 2b37dabf2..57affe1fd 100644 --- a/src/fileio.cpp +++ b/src/fileio.cpp @@ -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; } |