Skip to content

Commit

Permalink
alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
lifenjoiner committed Apr 4, 2024
1 parent 83fdb44 commit b393f1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SearchDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3087,9 +3087,9 @@ void CSearchDlg::OpenFileAtListIndex(int listIndex)
std::wstring application = cmdBuf.get();
// normalize application path
DWORD len = ExpandEnvironmentStrings(application.c_str(), nullptr, 0);
cmdBuf = std::make_unique<wchar_t[]>(len + 1LL);
cmdBuf = std::make_unique<wchar_t[]>(len + 1LL);
ExpandEnvironmentStrings(application.c_str(), cmdBuf.get(), len);
application = cmdBuf.get();
application = cmdBuf.get();

// resolve parameters
std::wstring appname = application;
Expand Down

0 comments on commit b393f1f

Please sign in to comment.