From 113603af15bc1030d7651ac519f581040821e107 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 18 May 2001 15:33:34 +0000 Subject: [PATCH 1/1] 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 --- src/frontends/controllers/ChangeLog | 3 ++- src/frontends/controllers/ControlPreamble.C | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) 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)); } -- 2.39.2