From: Angus Leeming Date: Fri, 18 May 2001 15:33:34 +0000 (+0000) Subject: Fix for Kayvan's reported crash in the preamble. Same, uninitialised X-Git-Tag: 1.6.10~21236 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=113603af15bc1030d7651ac519f581040821e107;hp=b71c0f9f49517fae556f28190f9d3e10d57dc23e;p=lyx.git Fix for Kayvan's reported crash in the preamble. Same, uninitialised 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 --- diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index 31947c576d..bf920d2a48 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -1,6 +1,7 @@ 2001-05-18 Angus Leeming - * 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 diff --git a/src/frontends/controllers/ControlPreamble.C b/src/frontends/controllers/ControlPreamble.C index 526244f6b7..2d4c7b93a6 100644 --- a/src/frontends/controllers/ControlPreamble.C +++ b/src/frontends/controllers/ControlPreamble.C @@ -24,7 +24,8 @@ ControlPreamble::ControlPreamble(LyXView & lv, Dialogs & d) - : ControlDialog(lv, d) + : ControlDialog(lv, d), + params_(0) { d_.showPreamble.connect(SigC::slot(this, &ControlPreamble::show)); }