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
This commit is contained in:
Alfredo Braunstein 2003-05-16 11:10:35 +00:00
parent 14580a289e
commit e02e7e4aab
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2003-05-16 Alfredo Braunstein <abraunst@libero.it>
* ParagraphParameters.C (params2string): small bug fixed
2003-05-16 André Pönitz <poenitz@gmx.net>

View File

@ -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());
}