]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.C
fix compilation pb ; update eu.po
[lyx.git] / src / insets / insetquotes.C
index 99e19b1b9d807cdc15a4e1d03126b496c0d5ec79..8de040602ba3e89720a04f2c9a2a3d0ff9a61f27 100644 (file)
@@ -24,6 +24,7 @@
 #include "support/lstrings.h"
 #include "Painter.h"
 #include "font.h"
+#include "language.h"
 
 using std::ostream;
 using std::endl;
@@ -259,7 +260,8 @@ int InsetQuotes::Latex(Buffer const * buf, ostream & os,
                qstr = latex_quote_babel[times][quoteind];
 
        // Always guard against unfortunate ligatures (!` ?`)
-       qstr.insert(0, "{}");
+       if (prefixIs(qstr, "`"))
+               qstr.insert(0, "{}");
 
        os << qstr;
        return 0;