changeset 36440:c94bea694181

(xm_arm_callback): Don't compare widgets with `None', use NULL instead.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 28 Feb 2001 15:03:11 +0000
parents f29ccc7908b6
children 861557fe5809
files lwlib/lwlib-Xm.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lwlib/lwlib-Xm.c	Wed Feb 28 14:55:33 2001 +0000
+++ b/lwlib/lwlib-Xm.c	Wed Feb 28 15:03:11 2001 +0000
@@ -266,7 +266,7 @@
   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 @@
       w = XtParent (w);
     }
 
-  if (w != None)
+  if (w != NULL)
     {
       instance = lw_get_widget_instance (w);
       if (instance && instance->info->highlight_cb)