summaryrefslogtreecommitdiff
path: root/src/modules/plugins
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-03-23 21:16:11 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-03-23 21:16:11 +0000
commitd8a81a7a63b37b760d5c22641ed4f4b1cfbb232a (patch)
treea7494e040b919b674d4e26d572efd58ef45d0f49 /src/modules/plugins
parent53be8fe2c490da232c7ec7e87c1a5d65a1215241 (diff)
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@8725 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/plugins')
-rw-r--r--src/modules/plugins/newplugins.cpp10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/modules/plugins/newplugins.cpp b/src/modules/plugins/newplugins.cpp
index 8a33ddbea1..5a3ea6a735 100644
--- a/src/modules/plugins/newplugins.cpp
+++ b/src/modules/plugins/newplugins.cpp
@@ -26,6 +26,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#include "plugins.h"
#include "..\database\profilemanager.h"
+#include "..\langpack\langpack.h"
void LoadExtraIconsModule();
@@ -652,6 +653,8 @@ static int LaunchServicePlugin(pluginEntry *p)
p->pclass |= PCLASS_LOADED;
}
+ Langpack_LoadLangpack();
+
INT_PTR res = CallService(MS_SERVICEMODE_LAUNCH, 0, 0);
if (res != CALLSERVICE_NOTFOUND)
return res;
@@ -819,13 +822,6 @@ int LoadNewPluginsModuleInfos(void)
// remember where the mirandaboot.ini goes
PathToAbsoluteT(_T("mirandaboot.ini"), mirandabootini);
- TCHAR tszDefaultLang[100];
- if (GetPrivateProfileString(_T("Language"), _T("DefaultLanguage"), _T(""), tszDefaultLang, SIZEOF(tszDefaultLang), mirandabootini)) {
- TCHAR tszLangPath[MAX_PATH];
- PathToAbsoluteT(tszDefaultLang, tszLangPath);
- LoadLangPack(tszLangPath);
- }
-
// look for all *.dll's
enumPlugins(scanPluginsDir, 0, 0);