Commit 7cdfb7ee authored by Antoine Cellerier's avatar Antoine Cellerier

Dots are allowed in filenames (even on WIN32...). Thanks to Dugal Harris for noticing this bug.

parent a6a23e57
...@@ -805,7 +805,6 @@ void filename_sanitize( char *str ) ...@@ -805,7 +805,6 @@ void filename_sanitize( char *str )
case '/': case '/':
#ifdef WIN32 #ifdef WIN32
case '*': case '*':
case '.':
case '"': case '"':
case '\\': case '\\':
case '[': case '[':
...@@ -832,7 +831,6 @@ void path_sanitize( char *str ) ...@@ -832,7 +831,6 @@ void path_sanitize( char *str )
{ {
#ifdef WIN32 #ifdef WIN32
case '*': case '*':
case '.':
case '"': case '"':
case '[': case '[':
case ']': case ']':
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment