src/tree.c: avoid a compilation warning

This commit is contained in:
Javier Jardón 2015-03-22 09:24:26 +00:00
parent f01d7220db
commit c45daa96bf

View File

@ -305,8 +305,9 @@ zenity_mid_search_func (GtkTreeModel *model, gint column,
{ {
gchar *iter_string = NULL; gchar *iter_string = NULL;
gtk_tree_model_get (model, iter, column, &iter_string, -1); gtk_tree_model_get (model, iter, column, &iter_string, -1);
return ! g_strrstr (g_utf8_strdown(iter_string, -1), return ! (g_strrstr (g_utf8_strdown(iter_string, -1),
g_utf8_strdown(key, -1)) != NULL; g_utf8_strdown(key, -1)) != NULL);
} }
static void static void