]> git.lyx.org Git - features.git/commitdiff
filetools.cpp: fix #6916 - round parentheses are valid in filenames (they are even...
authorUwe Stöhr <uwestoehr@web.de>
Sat, 25 Sep 2010 14:25:19 +0000 (14:25 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Sat, 25 Sep 2010 14:25:19 +0000 (14:25 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35499 a592a061-630c-0410-9148-cb99ea01b6c8

src/support/filetools.cpp

index 43796243835d98589b884c4947856b098e4d4a82..8f67b59df80235f63145aa5095ec0c2b9969f9a4 100644 (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;
 }