[Xfce4-commits] [xfce/xfce4-appfinder] 01/01: Fix compile error
noreply at xfce.org
noreply at xfce.org
Thu Nov 2 20:28:10 CET 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-appfinder.
commit 3c4ae180e080397f239b24497a88f45bfabb26bd
Author: Andre Miranda <andreldm at xfce.org>
Date: Thu Nov 2 16:28:02 2017 -0300
Fix compile error
---
src/appfinder-window.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/appfinder-window.c b/src/appfinder-window.c
index 80318b7..01919c1 100644
--- a/src/appfinder-window.c
+++ b/src/appfinder-window.c
@@ -1850,15 +1850,15 @@ xfce_appfinder_window_sort_items (GtkTreeModel *model,
result = g_strcmp0 (title_a, title_b);
else
{
- if (found = g_strrstr (title_a, casefold))
+ found = g_strrstr (title_a, casefold);
+ if (found)
result -= (G_MAXINT - (found - title_a));
- if (found = g_strrstr (title_b, casefold))
+ found = g_strrstr (title_b, casefold);
+ if (found)
result += (G_MAXINT - (found - title_b));
}
- g_printf ("\tsorting: %d - %s - %s - %s\n", result, casefold, title_a, title_b);
-
g_free (casefold);
g_free (title_a);
g_free (title_b);
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list