2 Aug
2024
2 Aug
'24
1:38 p.m.
Zhiyi Zhang (@zhiyi) commented about dlls/comctl32/tests/propsheet.c:
+int query_initial_focus = 0; +int edit_test_ID = IDC_PS_EDIT2; +LRESULT CALLBACK TestDlgProc(HWND hdlg, UINT uMessage, WPARAM wParam, LPARAM lParam) +{ + LPNMHDR lpnmhdr; + + switch (uMessage) + { + case WM_NOTIFY: + lpnmhdr = (NMHDR *)lParam; + switch (lpnmhdr->code) + { + case PSN_QUERYINITIALFOCUS: + { + query_initial_focus++; + if(edit_test_ID == IDC_PS_EDIT1) Let's add a space after if.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/6145#note_77649