aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMike Kestner <mkestner@ximian.com>2003-09-12 04:58:53 +0800
committerMike Kestner <mkestner@src.gnome.org>2003-09-12 04:58:53 +0800
commitf01f363a70ccc3a4f6ad62fd4fb58cca99d16457 (patch)
tree9778af0ebe171fcb5752378bf618b5fc71ec5a4e /widgets
parentc9150be94f0e3be05785e12d581fee16c23f3b0d (diff)
downloadgsoc2013-evolution-f01f363a70ccc3a4f6ad62fd4fb58cca99d16457.tar
gsoc2013-evolution-f01f363a70ccc3a4f6ad62fd4fb58cca99d16457.tar.gz
gsoc2013-evolution-f01f363a70ccc3a4f6ad62fd4fb58cca99d16457.tar.bz2
gsoc2013-evolution-f01f363a70ccc3a4f6ad62fd4fb58cca99d16457.tar.lz
gsoc2013-evolution-f01f363a70ccc3a4f6ad62fd4fb58cca99d16457.tar.xz
gsoc2013-evolution-f01f363a70ccc3a4f6ad62fd4fb58cca99d16457.tar.zst
gsoc2013-evolution-f01f363a70ccc3a4f6ad62fd4fb58cca99d16457.zip
move scnt and gcnt initialization outside the for loop [43156].
2003-09-11 Mike Kestner <mkestner@ximian.com> * e-table-sort-info.c (e_table_sort_info_load_from_node): move scnt and gcnt initialization outside the for loop [43156]. svn path=/trunk/; revision=22532
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/e-table-sort-info.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-sort-info.c b/widgets/table/e-table-sort-info.c
index c25acf6d0a..ba8f9050ab 100644
--- a/widgets/table/e-table-sort-info.c
+++ b/widgets/table/e-table-sort-info.c
@@ -380,10 +380,10 @@ e_table_sort_info_load_from_node (ETableSortInfo *info,
e_table_sort_info_sorting_set_nth(info, i++, column);
}
} else {
+ gint gcnt = 0;
+ gint scnt = 0;
for (grouping = node->children; grouping; grouping = grouping->next) {
ETableSortColumn column;
- gint gcnt = 0;
- gint scnt = 0;
if (grouping->type != XML_ELEMENT_NODE)
continue;