]> git.lyx.org Git - features.git/commitdiff
add comment about strange code
authorGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 13 Mar 2007 20:06:04 +0000 (20:06 +0000)
committerGeorg Baum <Georg.Baum@post.rwth-aachen.de>
Tue, 13 Mar 2007 20:06:04 +0000 (20:06 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17438 a592a061-630c-0410-9148-cb99ea01b6c8

src/paragraph.C

index 6de1977d3ab00a9464e4dc71d4df80263a2d6d37..2d5ad8671d14329891229c317b4a858a3c617ba6 100644 (file)
@@ -1087,6 +1087,9 @@ bool Paragraph::simpleTeXOnePar(Buffer const & buf,
 
                if (c == ' ') {
                        // Do not print the separation of the optional argument
+                       // if style->pass_thru is false. This works because
+                       // simpleTeXSpecialChars ignores spaces if
+                       // style->pass_thru is false.
                        if (i != body_pos - 1) {
                                if (pimpl_->simpleTeXBlanks(bparams,
                                                doc_encoding, os, texrow,