mirror of
https://github.com/profanity-im/profanity.git
synced 2025-01-03 14:57:42 -05:00
Use variable name in buffer_remove_entry()
We assign it just above.
This commit is contained in:
parent
d341705a43
commit
cee92b0a70
@ -145,7 +145,7 @@ buffer_remove_entry(ProfBuff buffer, int entry)
|
||||
GSList* node = g_slist_nth(buffer->entries, entry);
|
||||
ProfBuffEntry* e = node->data;
|
||||
buffer->lines -= e->_lines;
|
||||
_free_entry(node->data);
|
||||
_free_entry(e);
|
||||
buffer->entries = g_slist_delete_link(buffer->entries, node);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user