* src/insets/insetnewline.C: plaintext(): fix line length

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17208 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Michael Schmitt 2007-02-15 23:24:15 +00:00
parent 2ca15c641a
commit 517fdc10c3

View File

@ -16,6 +16,7 @@
#include "LColor.h"
#include "lyxtext.h"
#include "metricsinfo.h"
#include "outputparams.h"
#include "paragraph.h"
#include "paragraph_funcs.h"
@ -62,10 +63,10 @@ int InsetNewline::latex(Buffer const &, odocstream &,
int InsetNewline::plaintext(Buffer const &, odocstream & os,
OutputParams const &) const
OutputParams const & runparams) const
{
os << '\n';
return 0;
return runparams.linelen;
}