From e02e7e4aabfa22b3f92459c0440ba8f27ad4ce39 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Fri, 16 May 2003 11:10:35 +0000 Subject: [PATCH] small bug fixed: inInset returns a pointer, not a bool git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6970 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/ChangeLog | 3 +++ src/ParagraphParameters.C | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 1357a0bb2d..a364b855c4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,6 @@ +2003-05-16 Alfredo Braunstein + + * ParagraphParameters.C (params2string): small bug fixed 2003-05-16 André Pönitz diff --git a/src/ParagraphParameters.C b/src/ParagraphParameters.C index 347ef89f7e..2e95e9f564 100644 --- a/src/ParagraphParameters.C +++ b/src/ParagraphParameters.C @@ -470,7 +470,7 @@ void params2string(Paragraph const & par, string & data) os << "\\aligndefault " << layout->align << '\n'; /// is paragraph in inset - os << "\\ininset " << par.inInset() << '\n'; + os << "\\ininset " << (par.inInset()?1:0) << '\n'; data = STRCONV(os.str()); }