Fix a little comment error in the _GTreeNode struct
authorGeek87 <geek87@gmx.com>
Mon, 25 Jul 2011 11:06:02 +0000 (13:06 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 30 Nov 2011 03:16:52 +0000 (22:16 -0500)
https://bugzilla.gnome.org/show_bug.cgi?id=648516

glib/gtree.c

index 9bd9fa8..b78d933 100644 (file)
@@ -95,7 +95,7 @@ struct _GTreeNode
   gpointer   value;       /* value stored at this node */
   GTreeNode *left;        /* left subtree */
   GTreeNode *right;       /* right subtree */
-  gint8      balance;     /* height (left) - height (right) */
+  gint8      balance;     /* height (right) - height (left) */
   guint8     left_child;
   guint8     right_child;
 };