Use indices[i] >= level->array->len rather than level->array->len >
2002-05-24 Dave Camp <dave@ximian.com> * gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len rather than level->array->len > indices[i] in the bounds check.
This commit is contained in:
@ -1,3 +1,8 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
rather than level->array->len > indices[i] in the bounds check.
|
||||
|
||||
2002-05-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk-zip.sh.in: Use correct path to the loaders and immodules
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
rather than level->array->len > indices[i] in the bounds check.
|
||||
|
||||
2002-05-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk-zip.sh.in: Use correct path to the loaders and immodules
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
rather than level->array->len > indices[i] in the bounds check.
|
||||
|
||||
2002-05-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk-zip.sh.in: Use correct path to the loaders and immodules
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
rather than level->array->len > indices[i] in the bounds check.
|
||||
|
||||
2002-05-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk-zip.sh.in: Use correct path to the loaders and immodules
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
rather than level->array->len > indices[i] in the bounds check.
|
||||
|
||||
2002-05-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk-zip.sh.in: Use correct path to the loaders and immodules
|
||||
|
@ -1,3 +1,8 @@
|
||||
2002-05-24 Dave Camp <dave@ximian.com>
|
||||
|
||||
* gtk/gtktreemodelsort.c: Use indices[i] >= level->array->len
|
||||
rather than level->array->len > indices[i] in the bounds check.
|
||||
|
||||
2002-05-23 Tor Lillqvist <tml@iki.fi>
|
||||
|
||||
* gtk-zip.sh.in: Use correct path to the loaders and immodules
|
||||
|
@ -883,7 +883,7 @@ gtk_tree_model_sort_get_iter (GtkTreeModel *tree_model,
|
||||
for (i = 0; i < depth - 1; i++)
|
||||
{
|
||||
if ((level == NULL) ||
|
||||
(level->array->len < indices[i]))
|
||||
(indices[i] >= level->array->len))
|
||||
return FALSE;
|
||||
|
||||
if (g_array_index (level->array, SortElt, indices[i]).children == NULL)
|
||||
|
Reference in New Issue
Block a user