From a08eaad93e62e753f055a4423eef78353580f735 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 9 May 2016 22:07:56 +0200 Subject: [PATCH] Tighten check to match only precisely renderdoc.dll, not just a suffix --- renderdoc/os/win32/win32_hook.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/os/win32/win32_hook.cpp b/renderdoc/os/win32/win32_hook.cpp index 0a807ebcc..6a5503280 100644 --- a/renderdoc/os/win32/win32_hook.cpp +++ b/renderdoc/os/win32/win32_hook.cpp @@ -131,7 +131,7 @@ struct CachedHookData // renderdoc.dll, or tries to load it. if(strstr(lowername, "fraps") || strstr(lowername, "gameoverlayrenderer") || - strstr(lowername, "renderdoc.dll")) + strstr(lowername, "renderdoc.dll") == lowername) return; // for safety (and because we don't need to), ignore these modules