Fixed wrong sorting of url history entries (#31).
authorDaniel Carl <danielcarl@gmx.de>
Sun, 2 Jun 2013 16:58:26 +0000 (18:58 +0200)
committerDaniel Carl <danielcarl@gmx.de>
Sun, 2 Jun 2013 16:58:26 +0000 (18:58 +0200)
In opposition to the function comment the history list contained the latest
entries first.

src/history.c

index 176c516..21f2a65 100644 (file)
@@ -250,6 +250,8 @@ static GList *load(const char *file)
         }
     }
 
+    list = g_list_reverse(list);
+
     return list;
 }