mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
fix ascii export with insets
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3325 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a02a2714dc
commit
80a721459f
@ -1,5 +1,8 @@
|
||||
2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
|
||||
|
||||
* buffer.C (asciiParagraph): avoid outputing a word twice after
|
||||
an inset.
|
||||
|
||||
* lyxrc.C (getDescription): document that document_path and
|
||||
template_path can be empty.
|
||||
|
||||
|
@ -1918,8 +1918,10 @@ string const Buffer::asciiParagraph(Paragraph const * par,
|
||||
{
|
||||
Inset const * inset = par->getInset(i);
|
||||
if (inset) {
|
||||
if (linelen > 0)
|
||||
if (linelen > 0) {
|
||||
buffer << word.str();
|
||||
word.str("");
|
||||
}
|
||||
if (inset->ascii(this, buffer, linelen)) {
|
||||
// to be sure it breaks paragraph
|
||||
currlinelen += linelen;
|
||||
|
Loading…
Reference in New Issue
Block a user