+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
// 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 ");
}