mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
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:
parent
9fa49ecafa
commit
052f689daa
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user