[gtk+] styleproperties: Really don't use 'i' in inner loop
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] styleproperties: Really don't use 'i' in inner loop
- Date: Sun, 20 Mar 2016 12:43:56 +0000 (UTC)
commit 710285104b35b0be5423ab5328a1e2dba04b5502
Author: Benjamin Otte <otte redhat com>
Date: Sun Mar 20 13:42:18 2016 +0100
styleproperties: Really don't use 'i' in inner loop
I apparently was too tired when doing
8cebc125da7e3f9c49a6d4e0ea5320c11b7c21af and forgot to replace one
instance of 'i' with 'j'.
Thanks Timm for finding that one.
gtk/deprecated/gtkstyleproperties.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/deprecated/gtkstyleproperties.c b/gtk/deprecated/gtkstyleproperties.c
index e651150..30aac87 100644
--- a/gtk/deprecated/gtkstyleproperties.c
+++ b/gtk/deprecated/gtkstyleproperties.c
@@ -932,7 +932,7 @@ gtk_style_properties_merge (GtkStyleProperties *props,
array = g_value_get_boxed (_gtk_css_typed_value_get (value->value));
array_to_merge = g_value_get_boxed (_gtk_css_typed_value_get (data->value));
- for (i = 0; j < array_to_merge->len; j++)
+ for (j = 0; j < array_to_merge->len; j++)
g_ptr_array_add (array, g_ptr_array_index (array_to_merge, j));
}
else if (replace || value->value == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]