>>>>> "Andre" == Andre Poenitz <[EMAIL PROTECTED]> writes:
Andre> Looks like the spurious crash we've seen lately (I posted a Andre> backtrace yesterday or so). I think it's some corruption early Andre> in the process... What about this patch? Lars? JMarc
Index: src/frontends/xforms//ChangeLog =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/ChangeLog,v retrieving revision 1.574 diff -u -p -r1.574 ChangeLog --- src/frontends/xforms//ChangeLog 23 Oct 2002 10:08:54 -0000 1.574 +++ src/frontends/xforms//ChangeLog 23 Oct 2002 14:36:29 -0000 @@ -1,3 +1,7 @@ +2002-10-23 Jean-Marc Lasgouttes <[EMAIL PROTECTED]> + + * FormExternal.C (input): fix an off-by-one index (causing a crash) + 2002-10-23 Rob Lahaye <[EMAIL PROTECTED]> * forms/form_bibtex.fd: Index: src/frontends/xforms//FormExternal.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/xforms/FormExternal.C,v retrieving revision 1.21 diff -u -p -r1.21 FormExternal.C --- src/frontends/xforms//FormExternal.C 5 Sep 2002 15:14:22 -0000 1.21 +++ src/frontends/xforms//FormExternal.C 23 Oct 2002 14:36:29 -0000 @@ -93,7 +93,7 @@ ButtonPolicy::SMInput FormExternal::inpu if (ob == dialog_->choice_template) { // set to the chosen template - int const choice = fl_get_choice(dialog_->choice_template); + int const choice = fl_get_choice(dialog_->choice_template) - 1; controller().params().templ = controller().getTemplate(choice); updateComboChange();