1 Aug
2024
1 Aug
'24
11:51 a.m.
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/listview.c:
+ + for (int i = 0; i < 100; i++) + { + lvi.mask = LVIF_TEXT; + lvi.iItem = i; + lvi.iSubItem = 0; + lvi.pszText = buffer; + sprintf(buffer, "%d", rand() % 100); + SendMessageA(list_view, LVM_INSERTITEMA, 0, (LPARAM) &lvi); + + lvi.iSubItem = 1; + sprintf(buffer, "%d", rand() % 100); + SendMessageA(list_view, LVM_SETITEMTEXTA, i, (LPARAM) &lvi); + } + + SendMessageA(list_view, LVM_SORTITEMSEX, (WPARAM) list_view, (LPARAM) test_CallBackCompareEx); Let's remove the space after (WPARAM) and (LPARAM).
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6160#note_77521