From: Uwe Stöhr Date: Sat, 25 Sep 2010 14:25:19 +0000 (+0000) Subject: filetools.cpp: fix #6916 - round parentheses are valid in filenames (they are even... X-Git-Tag: 2.0.0~2508 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=052f689daa275a7b8991950e7c07d9fb185db80f;p=features.git 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 --- diff --git a/src/support/filetools.cpp b/src/support/filetools.cpp index 4379624383..8f67b59df8 100644 --- a/src/support/filetools.cpp +++ b/src/support/filetools.cpp @@ -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; }