diff --git a/PowerEditor/src/winmain.cpp b/PowerEditor/src/winmain.cpp index 3ef7bb77d..fd1b8f701 100644 --- a/PowerEditor/src/winmain.cpp +++ b/PowerEditor/src/winmain.cpp @@ -411,7 +411,9 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR pCmdLine, int) ::MessageBox(NULL, COMMAND_ARG_HELP, TEXT("Notepad++ Command Argument Help"), MB_OK); NppParameters& nppParameters = NppParameters::getInstance(); + nppParameters.load(); NppGUI & nppGui = const_cast(nppParameters.getNppGUI()); + bool doUpdateNpp = nppGui._autoUpdateOpt._doAutoUpdate; bool doUpdatePluginList = nppGui._autoUpdateOpt._doAutoUpdate; @@ -426,7 +428,6 @@ int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR pCmdLine, int) { nppParameters.setStartWithLocFileName(cmdLineParams._localizationPath); } - nppParameters.load(); nppParameters.setFunctionListExportBoolean(doFunctionListExport); nppParameters.setPrintAndExitBoolean(doPrintAndQuit);