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:
parent
5df7d0cff1
commit
9d618af7fc
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user