]> git.lyx.org Git - lyx.git/commitdiff
Thinko
authorJuergen Spitzmueller <spitz@lyx.org>
Mon, 12 Dec 2016 16:52:59 +0000 (17:52 +0100)
committerJuergen Spitzmueller <spitz@lyx.org>
Mon, 12 Dec 2016 16:52:59 +0000 (17:52 +0100)
src/insets/InsetQuotes.cpp

index 48e081a61042184e20a78ddd487bf073a2bcac2c..ad4759d629e7aa97a3df8ae3b9527d880813ab1c 100644 (file)
@@ -297,7 +297,7 @@ void InsetQuotes::latex(otexstream & os, OutputParams const & runparams) const
                        if (lastchar == '!' || lastchar == '?')
                                qstr.insert(0, "{}");
                }
-               if (qstr[1] == lastchar)
+               if (qstr[0] == lastchar)
                        qstr.insert(0, "{}");
        }