projects
/
dana
/
cg-glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d4cf6a7
)
When looking for the second largest root version, the l variable will be off the...
author
Dana Jansens
<danakj@orodu.net>
Fri, 30 Oct 2009 22:18:09 +0000
(18:18 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 12 Nov 2009 21:54:05 +0000
(16:54 -0500)
glib/gtree.c
patch
|
blob
|
history
diff --git
a/glib/gtree.c
b/glib/gtree.c
index 59be18f53885ce64fc437630374d83837ca78af1..77ee5fc62535afb45e5a7dfb83939c86da35ec4e 100644
(file)
--- 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;
}