diff --git a/src/tree.c b/src/tree.c index f0fc187..63287e3 100644 --- a/src/tree.c +++ b/src/tree.c @@ -298,7 +298,7 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data) return; } - separator = g_strdup (tree_data->separator); + separator = g_strcompress (tree_data->separator); n_columns = g_slist_length (tree_data->columns);