diff lwlib/lwlib-utils.c @ 647:b39c14581166

[xemacs-hg @ 2001-08-13 04:45:47 by ben] removal of unsigned, size_t, etc.
author ben
date Mon, 13 Aug 2001 04:46:48 +0000
parents 54fa1a5c2d12
children 04bc9d2f42c7
line wrap: on
line diff
--- a/lwlib/lwlib-utils.c	Wed Aug 08 12:15:04 2001 +0000
+++ b/lwlib/lwlib-utils.c	Mon Aug 13 04:46:48 2001 +0000
@@ -119,16 +119,17 @@
     {
       CompositeWidget cw = (CompositeWidget)w;
       int i;
-      for (i = 0; i < cw->composite.num_children; i++)
-	if (XtIsWidget (cw->composite.children [i])){
-	  result = proc (cw->composite.children [i], arg);
-	  if (result)
-	    return result;
-	  result = XtApplyUntilToWidgets (cw->composite.children [i], proc,
-					  arg);
-	  if (result)
-	    return result;
-	}
+      for (i = 0; i < (int) cw->composite.num_children; i++)
+	if (XtIsWidget (cw->composite.children[i]))
+	  {
+	    result = proc (cw->composite.children[i], arg);
+	    if (result)
+	      return result;
+	    result = XtApplyUntilToWidgets (cw->composite.children[i], proc,
+					    arg);
+	    if (result)
+	      return result;
+	  }
     }
   return NULL;
 }