]> git.lyx.org Git - lyx.git/commitdiff
* output_plaintext.C (asciiParagraph): output things in the right
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 19 Jan 2007 16:17:39 +0000 (16:17 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Fri, 19 Jan 2007 16:17:39 +0000 (16:17 +0000)
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

src/output_plaintext.C

index 0a6d16eddc20b8b7738dfef77fed4047fee88dad..0adf86779e51199e5628a6a8d14bc6a738fcb1ec 100644 (file)
@@ -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)) {