]> git.lyx.org Git - lyx.git/blobdiff - src/insets/insetquotes.C
update copyright year
[lyx.git] / src / insets / insetquotes.C
index 99e19b1b9d807cdc15a4e1d03126b496c0d5ec79..0f559dda9722394170ca9928ff95ce3f2a86f169 100644 (file)
@@ -4,7 +4,7 @@
  *           LyX, The Document Processor
  *      
  *         Copyright 1995 Matthias Ettrich
- *          Copyright 1995-2000 The LyX Team.
+ *          Copyright 1995-2001 The LyX Team.
  *
  * ====================================================== */
 
@@ -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;