diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-05 00:21:49 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-08-05 00:21:49 +0000 |
commit | c455b5eac1ce63f607e6113a57e50bea70bcd730 (patch) | |
tree | 265a29405aedaa1700c1df0fd5fc5d641e86a15c /gtk/gtkcelllayout.c | |
parent | 36a571570d700d1f574f0213dc22ee355a0ff7a7 (diff) | |
download | gtk+-c455b5eac1ce63f607e6113a57e50bea70bcd730.tar.gz |
Add some missing braces
svn path=/trunk/; revision=21005
Diffstat (limited to 'gtk/gtkcelllayout.c')
-rw-r--r-- | gtk/gtkcelllayout.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk/gtkcelllayout.c b/gtk/gtkcelllayout.c index c0f54f2676..2783ce8b50 100644 --- a/gtk/gtkcelllayout.c +++ b/gtk/gtkcelllayout.c @@ -330,9 +330,11 @@ attributes_start_element (GMarkupParseContext *context, guint i; if (strcmp (element_name, "attribute") == 0) - for (i = 0; names[i]; i++) - if (strcmp (names[i], "name") == 0) - parser_data->attr_name = g_strdup (values[i]); + { + for (i = 0; names[i]; i++) + if (strcmp (names[i], "name") == 0) + parser_data->attr_name = g_strdup (values[i]); + } else if (strcmp (element_name, "attributes") == 0) return; else |