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 | 337d56d4bb7d9176587884bb980d7e9c34e2ac06 (patch) | |
tree | eab9a1a17af009aba2bbb02cc0d7d69883e75b03 /src | |
parent | cc533d77e51f1416ffd41d3b36e4fc76a84c3185 (diff) | |
download | openttd-337d56d4bb7d9176587884bb980d7e9c34e2ac06.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; } |