]> git.lyx.org Git - lyx.git/commitdiff
Fix problem with unbalanced braces in XeTeX output (bug #8765)
authorJuergen Spitzmueller <spitz@lyx.org>
Fri, 12 Jul 2013 14:57:34 +0000 (16:57 +0200)
committerVincent van Ravesteijn <vfr@lyx.org>
Sat, 13 Jul 2013 20:44:09 +0000 (22:44 +0200)
src/Font.cpp

index df4da4440f22efd3f55609a623d18e2a2b429194..084a4072fc80f1664d2dfb1d6afc43637ad5d0c6 100644 (file)
@@ -286,6 +286,9 @@ int Font::latexWriteStartChanges(odocstream & os, BufferParams const & bparams,
                        tmp += "{";
                        os << from_ascii(tmp);
                        count += tmp.length();
+               } else {
+                       os << '{';
+                       count += 1;
                }
        } else if (language()->babel() != base.language()->babel() &&
            language() != prev.language()) {