]> git.lyx.org Git - lyx.git/commitdiff
The extra space for French quotes only applies to guillemets.
authorJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Dec 2016 13:57:25 +0000 (14:57 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Sat, 10 Dec 2016 13:59:45 +0000 (14:59 +0100)
src/insets/InsetQuotes.cpp

index 130375dfb04e3e61a38c1a83f521b9e8e15eb620..bcdcff25e1b882684f203eca9c3fbbdbb32744d7 100644 (file)
@@ -199,9 +199,10 @@ docstring InsetQuotes::displayString() const
        int const index = quote_index[side_][language_];
        docstring retdisp = docstring(1, display_quote_char[times_][index]);
 
-       // in French, thin spaces are added inside double quotes
+       // in French, thin spaces are added inside double guillemets
        // FIXME: this should be done by a separate quote type.
-       if (times_ == DoubleQuotes && prefixIs(context_lang_, "fr")) {
+       if (prefixIs(context_lang_, "fr")
+           && times_ == DoubleQuotes && language_ == FrenchQuotes) {
                // THIN SPACE (U+2009)
                char_type const thin_space = 0x2009;
                if (side_ == LeftQuote)