summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree.c b/src/tree.c
index b3bb977c..0273e551 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -671,7 +671,7 @@ zenity_tree_extract_column_indexes (char *indexes, int n_columns)
if (index > 0 && index <= n_columns) {
result[j] = index;
j++;
- g_renew (gint, result, j + 1);
+ result = g_renew (gint, result, j + 1);
}
}
result[j] = 0;
bgstack15