Backport fix for #7720.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_2_0_X@39591 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Pavel Sanda 2011-09-05 18:06:58 +00:00
parent 38e4917e08
commit 8a482a99de
2 changed files with 4 additions and 5 deletions

View File

@ -216,11 +216,8 @@ int InsetBranch::plaintext(odocstream & os,
if (!isBranchSelected())
return 0;
os << '[' << buffer().B_("branch") << ' ' << params_.branch << ":\n";
InsetText::plaintext(os, runparams);
os << "\n]";
return PLAINTEXT_NEWLINE + 1; // one char on a separate line
int len = InsetText::plaintext(os, runparams);
return len;
}

View File

@ -41,6 +41,8 @@ What's new
* DOCUMENT INPUT/OUTPUT
- Fix ASCII export for branch inset (bug 7720).
* USER INTERFACE