From c45daa96bfdc5a958cc0f2cdaf4db71ac61b8fde Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Jard=C3=B3n?= Date: Sun, 22 Mar 2015 09:24:26 +0000 Subject: src/tree.c: avoid a compilation warning --- src/tree.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/tree.c b/src/tree.c index a979d8a..c87958f 100644 --- a/src/tree.c +++ b/src/tree.c @@ -305,8 +305,9 @@ zenity_mid_search_func (GtkTreeModel *model, gint column, { gchar *iter_string = NULL; gtk_tree_model_get (model, iter, column, &iter_string, -1); - return ! g_strrstr (g_utf8_strdown(iter_string, -1), - g_utf8_strdown(key, -1)) != NULL; + return ! (g_strrstr (g_utf8_strdown(iter_string, -1), + g_utf8_strdown(key, -1)) != NULL); + } static void -- cgit v1.2.1