Fixed crash when banner file was not found.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@2640 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Vigna 2001-08-31 09:38:08 +00:00
parent 75e4507489
commit 3daa4adfa6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2001-08-31 Juergen Vigna <jug@sad.it>
* src/lyx_gui.C (create_forms): fixed crash if banner-file was
not found.
2001-07-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/version.h (LYX_VERSION): resetting version to 1.1.6cvs

View File

@ -399,7 +399,7 @@ void LyXGUI::create_forms()
main_placement = FL_PLACE_POSITION;
}
lyxViews->show(main_placement, FL_FULLBORDER, "LyX");
if (lyxrc.show_banner) {
if (fd_form_title && lyxrc.show_banner) {
fl_show_form(fd_form_title->form_title,
title_placement, FL_NOBORDER,
_("LyX Banner"));