diff --git a/src/frontends/qt4/ui/QPrefPlaintextUi.ui b/src/frontends/qt4/ui/QPrefPlaintextUi.ui index 338f33e167..cc8d164a78 100644 --- a/src/frontends/qt4/ui/QPrefPlaintextUi.ui +++ b/src/frontends/qt4/ui/QPrefPlaintextUi.ui @@ -51,7 +51,7 @@ - Max. line length of exported plain text/LaTeX/SGML files. If set to 0, paragraphs are output in a single line; if the line length is > 0, paragraphs are separated by a blank line. + The maximum line length of exported plain text/LaTeX/SGML files. If set to 0, paragraphs are output in a single line; if the line length is > 0, paragraphs are separated by a blank line. 120 diff --git a/src/lyxrc.C b/src/lyxrc.C index 90cc102362..8208bb2103 100644 --- a/src/lyxrc.C +++ b/src/lyxrc.C @@ -2178,7 +2178,7 @@ string const LyXRC::getDescription(LyXRCTags tag) break; case RC_PLAINTEXT_LINELEN: - str = _("This is the maximum line length of an exported text file (LaTeX, SGML or plain text). If set to 0, paragraphs are output in a single line; if the line length is != 0, paragraphs are separated by a blank line."); + str = _("The maximum line length of exported plain text/LaTeX/SGML files. If set to 0, paragraphs are output in a single line; if the line length is > 0, paragraphs are separated by a blank line."); break; case RC_AUTOREGIONDELETE: diff --git a/src/output_plaintext.C b/src/output_plaintext.C index 0adf86779e..4ffc0c6553 100644 --- a/src/output_plaintext.C +++ b/src/output_plaintext.C @@ -127,7 +127,7 @@ void writePlaintextParagraph(Buffer const & buf, /* what about the alignment */ - // runparams.linelen <= 0 is special and means we don't have paragraph breaks + // runparams.linelen == 0 is special and means we don't have paragraph breaks string::size_type currlinelen = 0;