Skip to content

Commit

Permalink
add active notepad2 derivations to built-in open-by app list
Browse files Browse the repository at this point in the history
to utilize `/mr`
  • Loading branch information
lifenjoiner committed Jul 30, 2024
1 parent b58ab8b commit 6aa4e17
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/SearchDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3249,7 +3249,9 @@ void CSearchDlg::OpenFileAtListIndex(int listIndex)
paramsSuffix = CStringUtils::Format(L"/%s/%s\"", line.c_str(), move.c_str());
bDontQuotePath = TRUE;
}
else if (appname.find(L"notepad2.exe") != std::wstring::npos)
else if ((appname.find(L"notepad4.exe") != std::wstring::npos) ||
(appname.find(L"notepad3.exe") != std::wstring::npos) ||
(appname.find(L"notepad2.exe") != std::wstring::npos))
{
std::wstring match;
if (!pInfo->matchLinesMap.empty())
Expand Down

0 comments on commit 6aa4e17

Please sign in to comment.