1
0
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:
Trygve Aaberge
2021-03-21 00:24:57 +01:00
committed by Sébastien Helleu
parent e8a58a27cd
commit 6b23d855d8
+1 -1
View File
@@ -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);
}