7 Jun
2023
7 Jun
'23
6:32 p.m.
Esme Povirk (@madewokherd) commented about dlls/comdlg32/cdlg32.c:
/* SHELL */ GPA(COMDLG32_SHSimpleIDListFromPathAW, SHELL32_hInstance, (LPCSTR)162); - break;
+ actctx.cbSize = sizeof(actctx); + actctx.hModule = COMDLG32_hInstance; + actctx.lpResourceName = MAKEINTRESOURCEW(123); + actctx.dwFlags = ACTCTX_FLAG_HMODULE_VALID | ACTCTX_FLAG_RESOURCE_NAME_VALID; + COMDLG32_hActCtx = CreateActCtxW(&actctx); + if (COMDLG32_hActCtx == INVALID_HANDLE_VALUE) + ERR("failed to create activation context, last error %lu\n", GetLastError());
The surrounding code is using tabs, and this uses spaces. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/2068#note_34974