* src/paragraph_pimpl.C: check for linelen == 0 in LaTeX output;

otherwise, every word in printed on a separate line


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16778 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-01-20 15:07:20 +00:00
parent 3092763e2e
commit c73e175f04

View File

@ -390,7 +390,8 @@ void Paragraph::Pimpl::simpleTeXBlanks(odocstream & os, TexRow & texrow,
if (style.pass_thru)
return;
if (column > lyxrc.plaintext_linelen
if (lyxrc.plaintext_linelen > 0
&& column > lyxrc.plaintext_linelen
&& i
&& getChar(i - 1) != ' '
&& (i < size() - 1)