From: Alfredo Braunstein Date: Tue, 2 Sep 2003 11:05:07 +0000 (+0000) Subject: add a missing initialization (preventing a crash with previews) X-Git-Tag: 1.6.10~16203 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f6bd1b3014c57d7545cade612de9e03b10f4d4e6;p=lyx.git 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 --- diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 724152d0b9..835dac6655 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,7 @@ +2003-09-01 Alfredo Braunstein + + * formulabase.C (InsetFormulaBase): initialize view_ + 2003-08-28 Lars Gullik Bjønnes * most files: change to use const buffer refs diff --git a/src/mathed/formulabase.C b/src/mathed/formulabase.C index 1676e73cde..f979a18371 100644 --- a/src/mathed/formulabase.C +++ b/src/mathed/formulabase.C @@ -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();