From 5461f5246ac587298b95e1c3e64e9843a1bf77d5 Mon Sep 17 00:00:00 2001 From: Wusiki Jeronii Date: Tue, 14 Apr 2026 15:30:11 +0300 Subject: [PATCH] win32_hook: applied clang-format --- renderdoc/os/win32/win32_hook.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/renderdoc/os/win32/win32_hook.cpp b/renderdoc/os/win32/win32_hook.cpp index b64e62a80..688e45e05 100644 --- a/renderdoc/os/win32/win32_hook.cpp +++ b/renderdoc/os/win32/win32_hook.cpp @@ -842,9 +842,9 @@ FARPROC WINAPI Hooked_GetProcAddress(HMODULE mod, LPCSTR const func) if(searchFunc && searchFunc[0] != 0) { - #if ENABLED(VERBOSE_DEBUG_HOOK) +#if ENABLED(VERBOSE_DEBUG_HOOK) RDCDEBUG("found ordinal %s", searchFunc); - #endif +#endif } else { @@ -858,8 +858,8 @@ FARPROC WINAPI Hooked_GetProcAddress(HMODULE mod, LPCSTR const func) { FunctionHook search(searchFunc, NULL, NULL); - auto found = - std::lower_bound(it->second.FunctionHooks.begin(), it->second.FunctionHooks.end(), search); + auto found = std::lower_bound(it->second.FunctionHooks.begin(), + it->second.FunctionHooks.end(), search); if(found != it->second.FunctionHooks.end() && !(search < *found)) { FARPROC realfunc = GetProcAddress(mod, requestIsOrdinal ? originalRequest : searchFunc);