diff --git a/src/gui/personalize.cpp b/src/gui/personalize.cpp index e53a56616..150c74d68 100644 --- a/src/gui/personalize.cpp +++ b/src/gui/personalize.cpp @@ -365,6 +365,8 @@ int CPersonalizeGui::ShowPersonalizationMenu() } CMenuWidget* plMenu = NULL; int pcount = g_Plugins->getNumberOfPlugins(); + if (!pcount) + pcount = 1; std::string pldesc[pcount]; int pltype[pcount]; if (show_pluginmenu)