diff options
author | Benjamin Otte <otte@redhat.com> | 2012-04-01 03:41:19 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2012-04-17 08:59:16 +0200 |
commit | 68b7d3e4109a2171568df0fb1a13d65971a5646c (patch) | |
tree | 696db11fa8faed4a7fb67c4a5cd2403aecc6cf57 /gtk/gtkcsscomputedvalues.c | |
parent | a360e77a7b742933a4eccf5f58c1cdf7bfcf34e4 (diff) | |
download | gtk+-68b7d3e4109a2171568df0fb1a13d65971a5646c.tar.gz |
computedvalues: Fix signage error
Diffstat (limited to 'gtk/gtkcsscomputedvalues.c')
-rw-r--r-- | gtk/gtkcsscomputedvalues.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkcsscomputedvalues.c b/gtk/gtkcsscomputedvalues.c index a3b51d506e..608575e38c 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)) |