mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
buflist: Fix wrong pointers being used in hdata_compare
This used pointer1 and pointer2 which are pointers to the buffers, but it should use ptr_hotlist1 and ptr_hotlist1 which are pointers to the hotlists it is trying to compare.
This commit is contained in:
committed by
Sébastien Helleu
parent
e8a58a27cd
commit
6b23d855d8
@@ -271,7 +271,7 @@ buflist_compare_buffers (void *data, struct t_arraylist *arraylist,
|
||||
else
|
||||
{
|
||||
rc = weechat_hdata_compare (buflist_hdata_hotlist,
|
||||
pointer1, pointer2,
|
||||
ptr_hotlist1, ptr_hotlist2,
|
||||
ptr_field + 8,
|
||||
case_sensitive);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user