Disallow characters not permitted on windows
This commit is contained in:
parent
c1bc0eaa7d
commit
a95567f4db
1 changed files with 6 additions and 0 deletions
|
@ -52,9 +52,15 @@ namespace {
|
|||
{
|
||||
switch(c){
|
||||
case ' ':
|
||||
case '"':
|
||||
case '*':
|
||||
case '/':
|
||||
case ':':
|
||||
case '<':
|
||||
case '>':
|
||||
case '?':
|
||||
case '\\':
|
||||
case '|':
|
||||
case '~':
|
||||
case 0x7F: // DEL
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue