From: Georg Baum Date: Tue, 13 Mar 2007 20:06:04 +0000 (+0000) Subject: add comment about strange code X-Git-Tag: 1.6.10~10600 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=73ec6e8f252a7ee10d4ed7e343033288bd784e17;p=features.git add comment about strange code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17438 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/paragraph.C b/src/paragraph.C index 6de1977d3a..2d5ad8671d 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -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,