]> git.lyx.org Git - lyx.git/commitdiff
Fix for Kayvan's reported crash in the preamble. Same, uninitialised
authorAngus Leeming <leeming@lyx.org>
Fri, 18 May 2001 15:33:34 +0000 (15:33 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 18 May 2001 15:33:34 +0000 (15:33 +0000)
pointer problem as last time. The good news is, I think that's them all.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2013 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/controllers/ChangeLog
src/frontends/controllers/ControlPreamble.C

index 31947c576dae1be5c8233c6f798ad57876d2c98e..bf920d2a48240b14395007f6fe6895ddd6b34637 100644 (file)
@@ -1,6 +1,7 @@
 2001-05-18  Angus Leeming  <a.leeming@ic.ac.uk>
 
-       * ControlPrint.C (c-tor): initialise params_ and thereby cure crash.
+       * ControlPrint.C (c-tor):
+       * ControlPreamble.C (c-tor): initialise params_ and thereby cure crash.
 
 2001-05-14  Angus Leeming  <a.leeming@ic.ac.uk>
 
index 526244f6b75db18355a5486ed70b10136a414e8a..2d4c7b93a62437b331cb97952169931c5181d0e3 100644 (file)
@@ -24,7 +24,8 @@
 
 
 ControlPreamble::ControlPreamble(LyXView & lv, Dialogs & d)
-       : ControlDialog<ControlConnectBD>(lv, d)
+       : ControlDialog<ControlConnectBD>(lv, d),
+         params_(0)
 {
     d_.showPreamble.connect(SigC::slot(this, &ControlPreamble::show));
 }