[yelp] [yelp-window.c] Fixed sorting mistake for bookmarks



commit f1b90e01570e71db46c9225ef70870c4a3540a5c
Author: Shaun McCance <shaunm gnome org>
Date:   Wed May 5 13:25:06 2010 -0500

    [yelp-window.c] Fixed sorting mistake for bookmarks
    
    I wasn't actually returning the result of g_utf8_collate. Oops.

 src/yelp-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/yelp-window.c b/src/yelp-window.c
index 08b949e..5f60870 100644
--- a/src/yelp-window.c
+++ b/src/yelp-window.c
@@ -703,7 +703,7 @@ entry_compare (YelpMenuEntry *a, YelpMenuEntry *b)
         return ret;
 
     if (a->title && b->title)
-        ret = g_utf8_collate (a->title, b->title);
+        return g_utf8_collate (a->title, b->title);
     else if (b->title == NULL)
         return -1;
     else if (a->title == NULL)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]