mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-21 12:54:42 +02:00
Fix a crash issue in Plugin Admin
This commit is contained in:
parent
e339c0f600
commit
5dcb0efedc
@ -444,6 +444,10 @@ bool PluginsAdminDlg::updateListAndLoadFromJson()
|
|||||||
// load pl.json
|
// load pl.json
|
||||||
//
|
//
|
||||||
generic_string nppPluginListJsonPath = TEXT("C:\\tmp\\nppPluginList.json");
|
generic_string nppPluginListJsonPath = TEXT("C:\\tmp\\nppPluginList.json");
|
||||||
|
|
||||||
|
if (!::PathFileExists(nppPluginListJsonPath.c_str()))
|
||||||
|
return false;
|
||||||
|
|
||||||
ifstream nppPluginListJson(nppPluginListJsonPath);
|
ifstream nppPluginListJson(nppPluginListJsonPath);
|
||||||
json pluginsJson;
|
json pluginsJson;
|
||||||
nppPluginListJson >> pluginsJson;
|
nppPluginListJson >> pluginsJson;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user