Skip to content

Commit

Permalink
Fix a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
donho committed Jun 14, 2024
1 parent 069edc2 commit 3beed29
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/winmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ static wstring dlFileName = L"";
static wstring appIconFile = L"";
static wstring nsisSilentInstallParam = L"";

const wchar_t FLAG_NSIS_SILENT_INSALL_PARAM[] = L"/closeRunningNpp /S /runNppAfterSilentInstall";
const wchar_t FLAG_NSIS_SILENT_INSTALL_PARAM[] = L"/closeRunningNpp /S /runNppAfterSilentInstall";


const wchar_t FLAG_OPTIONS[] = L"-options";
Expand Down Expand Up @@ -1413,7 +1413,7 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR lpszCmdLine, int)
}
else if (dlAnswer == IDOK)
{
nsisSilentInstallParam = FLAG_NSIS_SILENT_INSALL_PARAM;
nsisSilentInstallParam = FLAG_NSIS_SILENT_INSTALL_PARAM;
}
// else IDYES: do nothing

Expand Down

0 comments on commit 3beed29

Please sign in to comment.