diff --git a/src/preferences/filetypes/NewFileTypeWindow.cpp b/src/preferences/filetypes/NewFileTypeWindow.cpp index b9014504de..68ee4c637a 100644 --- a/src/preferences/filetypes/NewFileTypeWindow.cpp +++ b/src/preferences/filetypes/NewFileTypeWindow.cpp @@ -84,7 +84,7 @@ NewFileTypeWindow::NewFileTypeWindow(FileTypesWindow* target, // filter out invalid characters that can't be part of a MIME type name BTextView* nameControlTextView = fNameControl->TextView(); - const char* disallowedCharacters = "/<>@,;:\"()[]?="; + const char* disallowedCharacters = "/<>@,;:\"()[]?= "; for (int32 i = 0; disallowedCharacters[i]; i++) { nameControlTextView->DisallowChar(disallowedCharacters[i]); }