]> git.lyx.org Git - lyx.git/commitdiff
add a missing initialization (preventing a crash with previews)
authorAlfredo Braunstein <abraunst@lyx.org>
Tue, 2 Sep 2003 11:05:07 +0000 (11:05 +0000)
committerAlfredo Braunstein <abraunst@lyx.org>
Tue, 2 Sep 2003 11:05:07 +0000 (11:05 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7633 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/ChangeLog
src/mathed/formulabase.C

index 724152d0b9615a021ac9cb096b2146010a6f8cd7..835dac66559ab102ac655cd573d0be6a196e5a24 100644 (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
index 1676e73cde80bb232dc8032d463d426e944f3314..f979a18371f32556de8aa6bef800654c70dbeb4c 100644 (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();