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 | 81e3f05877756fdc18c42478717193a4d56e784b (patch) | |
tree | 79dbe7cd28cd7f18951ba236d5f4e378f7fd97a0 /lwlib/lwlib-Xm.c | |
parent | 2a73ab6066a49d3ea39dddcef861a3fdf6cef992 (diff) | |
download | emacs-81e3f05877756fdc18c42478717193a4d56e784b.tar.gz |
(xm_arm_callback): Don't compare widgets with `None',
use NULL instead.
Diffstat (limited to 'lwlib/lwlib-Xm.c')
-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) |