add a missing initialization (preventing a crash with previews)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7633 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Alfredo Braunstein 2003-09-02 11:05:07 +00:00
parent f268743f8c
commit f6bd1b3014
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2003-09-01 Alfredo Braunstein <abraunst@libero.it>
* formulabase.C (InsetFormulaBase): initialize view_
2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
* most files: change to use const buffer refs

View File

@ -83,7 +83,7 @@ bool openNewInset(BufferView * bv, UpdatableInset * new_inset)
InsetFormulaBase::InsetFormulaBase()
: xo_(0), yo_(0)
: view_(0), xo_(0), yo_(0)
{
// This is needed as long the math parser is not re-entrant
initMath();