diff options
author | Gerd Moellmann <gerd@gnu.org> | 2001-02-28 15:03:11 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 2001-02-28 15:03:11 +0000 |
commit | 59185fa2b68c4a2e10aa8918dbcb2fb4dcaa6cc8 (patch) | |
tree | 0d0baed9c97358cc68d9f9a453b88c858a09ad77 | |
parent | 7aa0993b3e90327e75cd3e2fe98139513958ec76 (diff) | |
download | emacs-59185fa2b68c4a2e10aa8918dbcb2fb4dcaa6cc8.tar.gz |
(xm_arm_callback): Don't compare widgets with `None',
use NULL instead.
-rw-r--r-- | lwlib/lwlib-Xm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lwlib/lwlib-Xm.c b/lwlib/lwlib-Xm.c index 16c8a947a4a..38142d79387 100644 --- a/lwlib/lwlib-Xm.c +++ b/lwlib/lwlib-Xm.c @@ -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 != None) + while (w != NULL) { if (XmIsRowColumn (w)) { @@ -280,7 +280,7 @@ xm_arm_callback (w, client_data, call_data) w = XtParent (w); } - if (w != None) + if (w != NULL) { instance = lw_get_widget_instance (w); if (instance && instance->info->highlight_cb) |