mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
make quoted filenames work when " is active
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10094 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
82c5848058
commit
1a8b8902c0
@ -1,3 +1,7 @@
|
||||
2005-06-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* insetgraphics.C (stripExtensionIfPossible): adjust test for "
|
||||
|
||||
2005-06-20 Georg Baum <Georg.Baum@post.rwth-aachen.de>
|
||||
|
||||
* insetgraphics.C (prepareFile): don't strip the extension of quoted
|
||||
|
@ -529,7 +529,7 @@ string const stripExtensionIfPossible(string const & file)
|
||||
// The automatic format selection does not work if the file
|
||||
// name is escaped.
|
||||
string const latex_name = latex_path(file);
|
||||
if (latex_name[0] == '"')
|
||||
if (contains(latex_name, '"'))
|
||||
return latex_name;
|
||||
return subst(latex_path(RemoveExtension(file)), ".", "\\lyxdot ");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user