summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/plugins/newplugins.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp
index 9b6dbf22af..74b1e00830 100644
--- a/src/modules/plugins/newplugins.cpp
+++ b/src/modules/plugins/newplugins.cpp
@@ -136,8 +136,12 @@ int LoadStdPlugins()
if ( pluginDefault[i].pImpl )
continue;
- if ( !LoadCorePlugin(pluginDefault[i]))
+ if ( !LoadCorePlugin(pluginDefault[i])) {
+ TCHAR tszBuf[512];
+ mir_sntprintf(tszBuf, SIZEOF(tszBuf), TranslateT("Core plugin '%s' cannot be loaded or missing. Miranda will exit now"), pluginDefault[i].stdplugname);
+ MessageBox(NULL, tszBuf, TranslateT("Fatal error"), MB_OK | MB_ICONSTOP);
return 1;
+ }
}
if (pluginDefault[13].pImpl == NULL)