+2000-10-11 Allan Rae <rae@lyx.org>
+
+ * src/lyx_cb.C (TimerCB): cleaned up Angus's patch.
+
+2000-10-10 Angus Leeming <a.leeming@ic.ac.uk>
+
+ * src/lyx_cb.C (TimerCB): fix crash when fd_form_title doesn't exist.
+
2000-10-10 Allan Rae <rae@lyx.org>
* src/lyxrc.[Ch]:
extern "C" void TimerCB(FL_OBJECT *, long)
{
// only if the form still exists
- if (lyxrc.show_banner && fd_form_title->form_title != 0) {
+ if (lyxrc.show_banner
+ && fd_form_title
+ && fd_form_title->form_title) {
if (fd_form_title->form_title->visible) {
fl_hide_form(fd_form_title->form_title);
}