# HG changeset patch # User Gerd Moellmann # Date 983372591 0 # Node ID c94bea69418174d23f2bdcb72f63e8f0ec53a0a6 # Parent f29ccc7908b6077c0e22b96268aaeebc469572e9 (xm_arm_callback): Don't compare widgets with `None', use NULL instead. diff -r f29ccc7908b6 -r c94bea694181 lwlib/lwlib-Xm.c --- 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)