Skip to content

Commit

Permalink
Backslash install_dir to prevent false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
Aemony committed Feb 4, 2024
1 parent 2cf6f9b commit a892074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tabs/library.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3661,7 +3661,7 @@ UpdateInjectionStrategy (app_record_s* pApp, std::set <std::string> 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());

Expand Down

0 comments on commit a892074

Please sign in to comment.