diff options
author | James Booth <boothj5@gmail.com> | 2012-09-17 23:13:58 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-09-17 23:13:58 +0100 |
commit | 9d618af7fc68ae3ae7211c46729890b0df7fffd7 (patch) | |
tree | 1a5baf5c4f63646bc569d440330c51333a198979 | |
parent | 5df7d0cff194c5255f2ffa69aea48ebf7afc2a4d (diff) | |
download | profani-tty-9d618af7fc68ae3ae7211c46729890b0df7fffd7.tar.gz |
Fixed compiler warning on prof_history
-rw-r--r-- | src/prof_history.c | 2 |
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); |