From 653f0e3030edab3f8b9c9aea7d9c1018214f046e Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Mon, 25 Mar 2013 21:48:50 +0100 Subject: [PATCH] Fixed wrong command history sorting. --- src/history.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/history.c b/src/history.c index fd69d42..89afd4e 100644 --- a/src/history.c +++ b/src/history.c @@ -88,8 +88,6 @@ const char* history_get(HistoryType type, int step, const char* query) vb.state.history_active = g_list_prepend(vb.state.history_active, g_strdup(value)); } } - - vb.state.history_active = g_list_reverse(vb.state.history_active); } const int len = g_list_length(vb.state.history_active); -- 2.20.1