From: Dana Jansens Date: Fri, 30 Oct 2009 22:18:09 +0000 (-0400) Subject: When looking for the second largest root version, the l variable will be off the... X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=e8cb0d2716851e79f05ddea67d671ff28b43bb30;p=dana%2Fcg-glib.git When looking for the second largest root version, the l variable will be off the end of the list, which is okay. --- diff --git a/glib/gtree.c b/glib/gtree.c index 59be18f5..77ee5fc6 100644 --- a/glib/gtree.c +++ b/glib/gtree.c @@ -281,7 +281,7 @@ g_tree_root_find_version (GTree *tree, l = m+1; } g_assert (r->version < version); - g_assert (l->version > version); + g_assert (l == v+nv || l->version > version); return r; }