Fixed wrong command history sorting.
authorDaniel Carl <danielcarl@gmx.de>
Mon, 25 Mar 2013 20:48:50 +0000 (21:48 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Mon, 25 Mar 2013 20:48:50 +0000 (21:48 +0100)
src/history.c

index fd69d42..89afd4e 100644 (file)
@@ -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);