From 3beed29b670bff52feb94f6cfe5525b8b0c6ff0e Mon Sep 17 00:00:00 2001 From: Don Ho Date: Fri, 14 Jun 2024 15:25:03 +0200 Subject: [PATCH] Fix a typo --- src/winmain.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/winmain.cpp b/src/winmain.cpp index 87edc908..298d0a15 100644 --- a/src/winmain.cpp +++ b/src/winmain.cpp @@ -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"; @@ -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