summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mir_app/src/newplugins.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/newplugins.cpp b/src/mir_app/src/newplugins.cpp
index b61886df5f..f9ff40338f 100644
--- a/src/mir_app/src/newplugins.cpp
+++ b/src/mir_app/src/newplugins.cpp
@@ -176,7 +176,7 @@ int LoadStdPlugins()
char* GetPluginNameByLangpack(int _hLang)
{
- if (pluginList.getCount() == 0)
+ if (pluginList.getCount() == 0 || _hLang == 0)
return "";
for (auto &p : pluginList)