From 73ec6e8f252a7ee10d4ed7e343033288bd784e17 Mon Sep 17 00:00:00 2001 From: Georg Baum Date: Tue, 13 Mar 2007 20:06:04 +0000 Subject: [PATCH] add comment about strange code git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17438 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/paragraph.C | 3 +++ 1 file changed, 3 insertions(+) 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, -- 2.39.2