Jinoh Kang (@iamahuman) commented about dlls/ntdll/loader.c:
return TRUE; }
- status = build_import_name( buffer, name, len ); + status = build_import_name( wm, buffer, name, len ); if (!status) status = load_dll( load_path, buffer, 0, &wmImp, system );
if (status) { if (status == STATUS_DLL_NOT_FOUND) - ERR("Library %s (which is needed by %s) not found\n", - name, debugstr_w(current_modref->ldr.FullDllName.Buffer)); + ERR("Library %s (which is needed by %s) not found\n", name, debugstr_w(wm->ldr.FullDllName.Buffer));
This line is slightly long, can we keep this consistent with the else branch? ```suggestion:-0+0 ERR("Library %s (which is needed by %s) not found\n", name, debugstr_w(wm->ldr.FullDllName.Buffer)); ``` -- https://gitlab.winehq.org/wine/wine/-/merge_requests/7287#note_94273