From f6bd1b3014c57d7545cade612de9e03b10f4d4e6 Mon Sep 17 00:00:00 2001 From: Alfredo Braunstein Date: Tue, 2 Sep 2003 11:05:07 +0000 Subject: [PATCH] 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 --- src/mathed/ChangeLog | 4 ++++ src/mathed/formulabase.C | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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(); -- 2.39.2