diff pkg-src/tree-x/draw.c @ 169:15872534500d r20-3b11

Import from CVS: tag r20-3b11
author cvs
date Mon, 13 Aug 2007 09:46:53 +0200
parents 85ec50267440
children
line wrap: on
line diff
--- a/pkg-src/tree-x/draw.c	Mon Aug 13 09:45:48 2007 +0200
+++ b/pkg-src/tree-x/draw.c	Mon Aug 13 09:46:53 2007 +0200
@@ -619,7 +619,7 @@
     FOREACH_CHILD(child, tree)
       num_nodes += CountNodes(child);
   }
-  return (num_nodes);
+  return num_nodes;
 }
 
 
@@ -790,20 +790,20 @@
   Tree *child;
 
   if (tree == NULL)
-    return (FALSE);
+    return FALSE;
 
   if (PT_IN_RECT(x, y, tree->pos.x, tree->pos.y,
 		 tree->pos.x + tree->width,
 		 tree->pos.y + tree->height)) {
     *node = tree;
-    return (TRUE);
+    return TRUE;
   }
   if (tree->child && (PT_IN_EXTENT(x, y, tree->subextent)))
     FOREACH_CHILD(child, tree) {
       if (SearchTree(child, x, y, node))
-	return (TRUE);
+	return TRUE;
     }
-  return (FALSE);
+  return FALSE;
 }