20 Nov
2025
20 Nov
'25
6:53 p.m.
Esme Povirk (@madewokherd) commented about dlls/sane.ds/ui.c:
+ { + MSG msg; + tickLast = tickNow; + + /* Update progress bar */ + SendDlgItemMessageA(dialog, IDC_PROGRESS, PBM_SETPOS, progress, 0); + + /* Perform message handling */ + while (PeekMessageA(&msg, NULL, 0, 0, PM_REMOVE)) + { + if (!IsDialogMessageA(dialog, &msg)) + { + TranslateMessage(&msg); + DispatchMessageA(&msg); + } + } We should use the W versions here too.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9530#note_123154