From c73e175f042b8aa896502ef9f8c91a76882e3bc9 Mon Sep 17 00:00:00 2001 From: Michael Schmitt Date: Sat, 20 Jan 2007 15:07:20 +0000 Subject: [PATCH] * 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 --- src/paragraph_pimpl.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/paragraph_pimpl.C b/src/paragraph_pimpl.C index 09feac9534..5a192c33cf 100644 --- a/src/paragraph_pimpl.C +++ b/src/paragraph_pimpl.C @@ -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)