Mercurial > hg > xemacs-beta
changeset 805:e5083672c894
[xemacs-hg @ 2002-04-05 10:37:30 by stephent]
fix XmProcessTraversal crash <873cyatoxf.fsf_-_@tleepslib.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Fri, 05 Apr 2002 10:37:31 +0000 |
parents | aaf4e86e0a2d |
children | 14089a93af0a |
files | lwlib/ChangeLog lwlib/lwlib-Xm.c |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/ChangeLog Fri Apr 05 08:57:45 2002 +0000 +++ b/lwlib/ChangeLog Fri Apr 05 10:37:31 2002 +0000 @@ -1,3 +1,7 @@ +2002-02-13 Stephen J. Turnbull <stephen@xemacs.org> + + * lwlib-Xm.c (make_dialog): Fix XmProcessTraversal crash. + 2002-04-05 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.6 "bok choi" is released.
--- a/lwlib/lwlib-Xm.c Fri Apr 05 08:57:45 2002 +0000 +++ b/lwlib/lwlib-Xm.c Fri Apr 05 10:37:31 2002 +0000 @@ -1298,6 +1298,7 @@ list activate the default button */ XtAddCallback (value, XmNdefaultActionCallback, activate_button, button); } + /* else add nothing; it's a separator */ ac = 0; XtSetArg(al[ac], XmNalignment, XmALIGNMENT_BEGINNING); ac++; @@ -1335,11 +1336,12 @@ XtInstallAccelerators (value, button); XmProcessTraversal(value, XmTRAVERSE_CURRENT); } - else + else if (radio_box) { XtInstallAccelerators (form, button); XmProcessTraversal(value, XmTRAVERSE_CURRENT); } + /* else we don' need no STEENKIN' assellerators. */ #ifdef DND_KLUDGE XtFree ((char *) dnd_override);