diff options
-rw-r--r-- | mate-panel/libpanel-util/panel-list.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mate-panel/libpanel-util/panel-list.c b/mate-panel/libpanel-util/panel-list.c index 154153cf..3c0a9eec 100644 --- a/mate-panel/libpanel-util/panel-list.c +++ b/mate-panel/libpanel-util/panel-list.c @@ -166,7 +166,7 @@ panel_g_list_resort_item (GList *list, dl = g_list_find (list, data); - if (dl != NULL) + if (dl == NULL) return list; while (dl->next && |