Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bafa64ca
Commit
bafa64ca
authored
Dec 20, 1997
by
Richard M. Stallman
Browse files
(update_one_menu_entry): Add conditional in case XmNpositionIndex is missing.
parent
ccd2f997
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lwlib/lwlib-Xm.c
lwlib/lwlib-Xm.c
+3
-1
No files found.
lwlib/lwlib-Xm.c
View file @
bafa64ca
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment