upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/runtime/shims/library_loader.cpp
diff options
context:
space:
mode:
authorJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 18:48:08 -0500
committerJan Trencansky <jan.trencansky@protonmail.com>2026-11-24 18:48:08 -0500
commit864337351bc11a250db77c2fcdd3ba6f1d0f455f (patch)
tree1b9fb69662877977ec6b5da697206fd1bdcf929f /runtime/shims/library_loader.cpp
parent54ed404defd035465ece0f2beeb792cf51179691 (diff)
parentb06d096ad0943d5eda9bf1b17b3c3346688fc1f6 (diff)
Merge main into RT-LIST139 (#396)
Merged on top of the merge made for #395 (main 507029d1e plus RT-QUEUE35 and RT-ALLOC9). No conflicts. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'runtime/shims/library_loader.cpp')
-rw-r--r--runtime/shims/library_loader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/shims/library_loader.cpp b/runtime/shims/library_loader.cpp
index 82dd75493..250fe0209 100644
--- a/runtime/shims/library_loader.cpp
+++ b/runtime/shims/library_loader.cpp
@@ -266,7 +266,7 @@ FARPROC WINAPI get_proc_address(HMODULE module, LPCSTR name) {
266 SetLastError(ERROR_PROC_NOT_FOUND); 266 SetLastError(ERROR_PROC_NOT_FOUND);
267 return nullptr; 267 return nullptr;
268 } 268 }
269 if (module && !IS_INTRESOURCE(name)) { 269 if (module) {
270 const DWORD error = GetLastError(); 270 const DWORD error = GetLastError();
271 const std::string dll = host_module_name(module); 271 const std::string dll = host_module_name(module);
272 void* shim = dll.empty() ? nullptr : find(dll, what); 272 void* shim = dll.empty() ? nullptr : find(dll, what);