From a892074fdacfc919e4ca44eab310e35c465aea97 Mon Sep 17 00:00:00 2001 From: aemony Date: Sun, 4 Feb 2024 14:29:27 +0100 Subject: [PATCH] Backslash install_dir to prevent false positives --- src/tabs/library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tabs/library.cpp b/src/tabs/library.cpp index aa7b7a66..9402370c 100644 --- a/src/tabs/library.cpp +++ b/src/tabs/library.cpp @@ -3661,7 +3661,7 @@ UpdateInjectionStrategy (app_record_s* pApp, std::set apptickets) if (dwResult == ERROR_SUCCESS && dwType == REG_SZ) { - if (StrStrIW (pValue.get(), pApp->install_dir.c_str()) != NULL) + if (StrStrIW (pValue.get(), (pApp->install_dir + LR"(\)").c_str()) != NULL) { std::wstring dll_full_path = std::wstring(pValue.get());