From 8a482a99de5bf3165e06930ed974423ad6a4ad6f Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Mon, 5 Sep 2011 18:06:58 +0000 Subject: [PATCH] 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 --- src/insets/InsetBranch.cpp | 7 ++----- status.20x | 2 ++ 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp index 4888992ba7..c7a01ee360 100644 --- a/src/insets/InsetBranch.cpp +++ b/src/insets/InsetBranch.cpp @@ -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; } diff --git a/status.20x b/status.20x index 068c377897..fd1eb61282 100644 --- a/status.20x +++ b/status.20x @@ -41,6 +41,8 @@ What's new * DOCUMENT INPUT/OUTPUT +- Fix ASCII export for branch inset (bug 7720). + * USER INTERFACE