filetools.cpp: fix #6916 - round parentheses are valid in filenames (they are even standard in paths in WinXP 64bit); they should also make no problems on UNIX systems

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35499 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Uwe Stöhr 2010-09-25 14:25:19 +00:00
parent 9fa49ecafa
commit 052f689daa

View File

@ -74,7 +74,7 @@ bool isSGMLFileName(string const & filename)
bool isValidLaTeXFileName(string const & filename)
{
string const invalid_chars("#$%{}()[]\"^");
string const invalid_chars("#$%{}[]\"^");
return filename.find_first_of(invalid_chars) == string::npos;
}