(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
authorglx
Fri, 22 Jun 2007 19:30:59 +0000
changeset 7016 65ca64810a94
parent 7015 0e76fdaed37c
child 7017 ea1d1e2fc80c
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
src/fileio.cpp
--- a/src/fileio.cpp	Fri Jun 22 18:43:11 2007 +0000
+++ b/src/fileio.cpp	Fri Jun 22 19:30:59 2007 +0000
@@ -532,6 +532,7 @@
 			/* 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;
 		}