[glib] Fix a little comment error in the _GTreeNode struct



commit 27e70806c1e4a44d2ff753cba152446ab1762fd5
Author: Geek87 <geek87 gmx com>
Date:   Mon Jul 25 13:06:02 2011 +0200

    Fix a little comment error in the _GTreeNode struct
    
    https://bugzilla.gnome.org/show_bug.cgi?id=648516

 glib/gtree.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/glib/gtree.c b/glib/gtree.c
index 9bd9fa8..b78d933 100644
--- a/glib/gtree.c
+++ b/glib/gtree.c
@@ -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;
 };



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]