(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names

This commit is contained in:
glx 2007-06-22 19:30:59 +00:00
parent cc533d77e5
commit 337d56d4bb
1 changed files with 1 additions and 0 deletions

View File

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