diff options
author | George Hazan <george.hazan@gmail.com> | 2023-11-20 18:47:08 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2023-11-20 18:47:08 +0300 |
commit | 74a28517e0166736499724a10a5e57d02613c1f2 (patch) | |
tree | ebfba4a60254f5b068fbef87c729e6eb71890066 /src/mir_app | |
parent | 933be66941a98a8bbeb9729a06f2a589a08ea15c (diff) |
fixes #3939 (Сообщение об отсутствии StdMsg показывается не только при запуске Миранды, но и при попытке вгрузить плагин "на лету")
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/newplugins.cpp | 2 | ||||
-rw-r--r-- | src/mir_app/src/pluginopts.cpp | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/mir_app/src/newplugins.cpp b/src/mir_app/src/newplugins.cpp index da6318d9e0..6416749b7d 100644 --- a/src/mir_app/src/newplugins.cpp +++ b/src/mir_app/src/newplugins.cpp @@ -774,7 +774,7 @@ int LoadStdPlugins() if (!it.Load()) {
MessageBoxW(nullptr,
- CMStringW(FORMAT, LPGENW("Core plugin '%s' cannot be loaded or missing. Miranda will exit now"), it.stdplugname),
+ CMStringW(FORMAT, TranslateT("Core plugin '%s' cannot be loaded or missing. Miranda will exit now"), it.stdplugname),
TranslateT("Fatal error"), MB_OK | MB_ICONSTOP);
return 1;
}
diff --git a/src/mir_app/src/pluginopts.cpp b/src/mir_app/src/pluginopts.cpp index a39b28a73d..105fa43dc5 100644 --- a/src/mir_app/src/pluginopts.cpp +++ b/src/mir_app/src/pluginopts.cpp @@ -376,7 +376,6 @@ public: CMStringW bufRestart(TranslateT("Miranda NG must be restarted to apply changes for these plugins:"));
bufRestart.AppendChar('\n');
- g_bLoadStd = false;
for (int iRow = 0; iRow != -1;) {
wchar_t buf[1024];
m_plugList.GetItemText(iRow, 0, buf, _countof(buf));
|