# HG changeset patch # User glx # Date 2007-06-22 19:30:59 # Node ID 4751dbaac4496000790c4005989e159e3160e152 # Parent f10c76653e816ab912bebbb1692addcd8c98a932 (svn r10272) -Fix (FS#916): remove more invalid characters from savegame names diff --git a/src/fileio.cpp b/src/fileio.cpp --- 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; }