From: Jean-Marc Lasgouttes Date: Fri, 19 Jan 2007 16:17:39 +0000 (+0000) Subject: * output_plaintext.C (asciiParagraph): output things in the right X-Git-Tag: 1.6.10~11137 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=76dc838dfeb27c94530226010b8f47afce7e5367;p=lyx.git * output_plaintext.C (asciiParagraph): output things in the right order when there is an inset and runparams.linelen == 0. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16765 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/output_plaintext.C b/src/output_plaintext.C index 0a6d16eddc..0adf86779e 100644 --- a/src/output_plaintext.C +++ b/src/output_plaintext.C @@ -199,11 +199,9 @@ void writePlaintextParagraph(Buffer const & buf, switch (c) { case Paragraph::META_INSET: { InsetBase const * inset = par.getInset(i); - if (runparams.linelen > 0) { - os << word; - currlinelen += word.length(); - word.erase(); - } + os << word; + currlinelen += word.length(); + word.erase(); OutputParams rp = runparams; rp.depth = par.params().depth(); if (inset->plaintext(buf, os, rp)) {