+2002-10-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
+
+ * FormExternal.C (apply):
+ (input): fix an off-by-one index (causing a crash)
+
2002-10-24 Rob Lahaye <lahaye@snu.ac.kr>
* FormGraphics.C: use checkedWidgets to ensure that the lengths and
controller().params().parameters =
fl_get_input(dialog_->input_parameters);
- 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);
}
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();