]> git.lyx.org Git - features.git/commitdiff
Fix probable omission
authorGuillaume Munch <gm@lyx.org>
Tue, 27 Sep 2016 01:37:02 +0000 (03:37 +0200)
committerGuillaume Munch <gm@lyx.org>
Sun, 16 Oct 2016 22:16:59 +0000 (00:16 +0200)
Upon close inspection I do not think that this twist was necessary.

src/Paragraph.cpp

index ce84dad177754f0bb96ec6f8647bbb5d84f43033..b98d06b89787c59a324d96b13a740ab6c229bc1f 100644 (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);