1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Fixed compiler warning on prof_history

This commit is contained in:
James Booth 2012-09-17 23:13:58 +01:00
parent 5df7d0cff1
commit 9d618af7fc

View File

@ -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);