Fix probable omission

Upon close inspection I do not think that this twist was necessary.
This commit is contained in:
Guillaume Munch 2016-09-27 03:37:02 +02:00
parent 1f6c451ee3
commit f42379a7d6

View File

@ -1404,9 +1404,7 @@ void Paragraph::Private::validate(LaTeXFeatures & features) const
owner_->latex(bp, f, os, features.runparams(), 0, -1, true);
if (os.length() > length) {
if (is_command) {
// FIXME: why does it has to be os.os() (equivalent to ods
// before)?
os.os() << '}';
os << '}';
if (!layout_->postcommandargs().empty()) {
OutputParams rp = features.runparams();
rp.local_font = &owner_->getFirstFontSettings(bp);