Branch: refs/heads/master Author: Dimitar Zhekov dimitar.zhekov@gmail.com Committer: Dimitar Zhekov dimitar.zhekov@gmail.com Date: Mon, 17 Feb 2014 18:00:55 UTC Commit: 3c961f871079ea7836da0f99011d47f0c1b76b07 https://github.com/geany/geany-plugins/commit/3c961f871079ea7836da0f99011d47...
Log Message: ----------- scope - avoid warning when sorting an empty scptreestore branch
Modified Paths: -------------- scope/src/store/scptreestore.c
Modified: scope/src/store/scptreestore.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -1278,7 +1278,7 @@ static void scp_sort_children(ScpTreeStore *store, GtkTreeIter *parent) { GPtrArray *array = (parent ? ITER_ELEM(parent) : store->priv->root)->children;
- if (array) + if (array && array->len) { gint *new_order = g_new(gint, array->len); ScpSortData sort_data = { store, array };
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
plugins-commits@lists.geany.org