From: Daniel Carl Date: Mon, 25 Mar 2013 20:48:50 +0000 (+0100) Subject: Fixed wrong command history sorting. X-Git-Url: https://git.owens.tech/assets/static/git.owens.tech/assets/static/git.owens.tech/git?a=commitdiff_plain;h=653f0e3030edab3f8b9c9aea7d9c1018214f046e;p=vimb.git Fixed wrong command history sorting. --- 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);