Fix problem with unbalanced braces in XeTeX output (bug #8765)

This commit is contained in:
Juergen Spitzmueller 2013-07-12 16:57:34 +02:00 committed by Vincent van Ravesteijn
parent c2cea31aea
commit 6e69a61d00

View File

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