about summary refs log tree commit diff stats
path: root/src/prof_history.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/prof_history.c')
-rw-r--r--src/prof_history.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prof_history.c b/src/prof_history.c
index c9139c57..e5667d86 100644
--- a/src/prof_history.c
+++ b/src/prof_history.c
@@ -124,7 +124,7 @@ p_history_previous(PHistory history, char *item)
         _create_session(history);
         
         // add the new item
-        g_list_append(history->session.items, copied);
+        history->session.items = g_list_append(history->session.items, copied);
         history->session.sess_new = g_list_last(history->session.items);
 
         char *result = strdup(history->session.sess_curr->data);