mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
personalize.cpp: avoid length array with value 0
Origin commit data
------------------
Branch: ni/coolstream
Commit: 52ee152bf7
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2021-11-06 (Sat, 06 Nov 2021)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -365,6 +365,8 @@ int CPersonalizeGui::ShowPersonalizationMenu()
|
|||||||
}
|
}
|
||||||
CMenuWidget* plMenu = NULL;
|
CMenuWidget* plMenu = NULL;
|
||||||
int pcount = g_Plugins->getNumberOfPlugins();
|
int pcount = g_Plugins->getNumberOfPlugins();
|
||||||
|
if (!pcount)
|
||||||
|
pcount = 1;
|
||||||
std::string pldesc[pcount];
|
std::string pldesc[pcount];
|
||||||
int pltype[pcount];
|
int pltype[pcount];
|
||||||
if (show_pluginmenu)
|
if (show_pluginmenu)
|
||||||
|
Reference in New Issue
Block a user