diff options
author | Richard M. Stallman <rms@gnu.org> | 1997-12-20 23:12:09 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1997-12-20 23:12:09 +0000 |
commit | 1732a96f98d6b3b88c77369e2ae9b76d3a81905f (patch) | |
tree | edc8674a4ccfe8c275d5d3387bd5be13b86b90bf /lwlib | |
parent | 84dc7b4d9406026f6d407388b8a4e0d9965d6c54 (diff) | |
download | emacs-1732a96f98d6b3b88c77369e2ae9b76d3a81905f.tar.gz |
(update_one_menu_entry): Add conditional in case XmNpositionIndex is missing.
Diffstat (limited to 'lwlib')
-rw-r--r-- | lwlib/lwlib-Xm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 2050c295755..7bfa1f04ccb 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c @@ -544,8 +544,10 @@ update_one_menu_entry (instance, widget, val, deep_p) /* Non-zero values don't work reliably in conjunction with Emacs' event loop */ XtSetArg (al [ac], XmNmappingDelay, 0); ac++; +#ifdef XmNpositionIndex /* This is undefined on SCO ODT 2.0. */ /* Tell Motif to put it in the right place */ - XtSetArg (al [ac], XmNpositionIndex, i); ac++; + XtSetArg (al [ac], XmNpositionIndex , i); ac++; +#endif button = XmCreateCascadeButtonGadget (parent, val->name, al, ac); xm_update_label (instance, button, val); |