From b061ad2263b94119b990139cec6f855213148219 Mon Sep 17 00:00:00 2001 From: baldurk Date: Sun, 5 Oct 2014 16:29:10 +0100 Subject: [PATCH] [Refs #87: Static Analysis] Use correct string for wcsrchr --- renderdoc/os/win32/win32_callstack.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderdoc/os/win32/win32_callstack.cpp b/renderdoc/os/win32/win32_callstack.cpp index 7fbf6d11e..d5ff8fcea 100644 --- a/renderdoc/os/win32/win32_callstack.cpp +++ b/renderdoc/os/win32/win32_callstack.cpp @@ -158,7 +158,7 @@ static bool InitDbgHelp() } else { - slash = wcsrchr(slash, '/'); + slash = wcsrchr(path, '/'); if(slash == 0) {