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
81e3f058
Commit
81e3f058
authored
Feb 28, 2001
by
Gerd Moellmann
Browse files
(xm_arm_callback): Don't compare widgets with `None',
use NULL instead.
parent
2a73ab60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
lwlib/lwlib-Xm.c
lwlib/lwlib-Xm.c
+2
-2
No files found.
lwlib/lwlib-Xm.c
View file @
81e3f058
...
...
@@ -266,7 +266,7 @@ xm_arm_callback (w, client_data, call_data)
widget_instance
*
instance
;
/* Get the id of the menu bar or popup menu this widget is in. */
while
(
w
!=
N
one
)
while
(
w
!=
N
ULL
)
{
if
(
XmIsRowColumn
(
w
))
{
...
...
@@ -280,7 +280,7 @@ xm_arm_callback (w, client_data, call_data)
w
=
XtParent
(
w
);
}
if
(
w
!=
N
one
)
if
(
w
!=
N
ULL
)
{
instance
=
lw_get_widget_instance
(
w
);
if
(
instance
&&
instance
->
info
->
highlight_cb
)
...
...
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