mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* 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:
parent
2ca15c641a
commit
517fdc10c3
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user