diff --git a/configure.in b/configure.in index bf1eaedef8..c72fa3962e 100644 --- a/configure.in +++ b/configure.in @@ -8,7 +8,7 @@ dnl AM_CONFIG_HEADER(src/config.h) AC_CONFIG_AUX_DIR(config) PACKAGE=lyx${program_suffix} -VERSION="1.2.0cvs" +VERSION="1.3.0cvs" LYX_CHECK_VERSION AC_CANONICAL_SYSTEM diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 1d41361648..e78a677d44 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,8 @@ +2002-05-15 John Levon + + * FormCharacter.C: avoid mis-treating Combox as FL_OBJECT + (bug 406) (from Angus) + 2002-05-10 Dekel Tsur * FormDocument.C (language_apply): Fix language changing. diff --git a/src/frontends/xforms/FormCharacter.C b/src/frontends/xforms/FormCharacter.C index ecd8add69a..2c6c2ae28a 100644 --- a/src/frontends/xforms/FormCharacter.C +++ b/src/frontends/xforms/FormCharacter.C @@ -42,7 +42,9 @@ FormCharacter::FormCharacter(ControlCharacter & c) void FormCharacter::ComboInputCB(int, void * v, Combox * combox) { FormCharacter * pre = static_cast(v); - pre->InputCB(reinterpret_cast(combox), 0); + // must use input() directly, to avoid treating the Combox + // as an FL_OBJECT, leading to a crash (bug 406) + pre->bc().input(pre->input(0, 0)); } void FormCharacter::build()