[gtk+/wip/cssvalue: 92/164] computedvalues: Fix signage error
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/cssvalue: 92/164] computedvalues: Fix signage error
- Date: Wed, 11 Apr 2012 14:47:39 +0000 (UTC)
commit 4afbca600f042e649edae8c5b4d1c214d24d6c97
Author: Benjamin Otte <otte redhat com>
Date: Sun Apr 1 03:41:19 2012 +0200
computedvalues: Fix signage error
gtk/gtkcsscomputedvalues.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkcsscomputedvalues.c b/gtk/gtkcsscomputedvalues.c
index a3b51d5..608575e 100644
--- a/gtk/gtkcsscomputedvalues.c
+++ b/gtk/gtkcsscomputedvalues.c
@@ -183,7 +183,7 @@ _gtk_css_computed_values_set_value (GtkCssComputedValues *values,
if (values->values == NULL)
values->values = g_ptr_array_new_with_free_func ((GDestroyNotify)_gtk_css_value_unref);
- if (id <= values->values->len)
+ if (id >= values->values->len)
g_ptr_array_set_size (values->values, id + 1);
if (g_ptr_array_index (values->values, id))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]