parent
4eac7d8e94
commit
f3261f8620
|
@ -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<NppGUI &>(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);
|
||||
|
|
Loading…
Reference in New Issue