summaryrefslogtreecommitdiff
path: root/meta2/meta2.cpp
diff options
context:
space:
mode:
author(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2008-07-14 10:54:04 +0000
committer(no author) <(no author)@4f64403b-2f21-0410-a795-97e2b3489a10>2008-07-14 10:54:04 +0000
commit8128db96b8cb2078a82f49fd6026b618560d6d8f (patch)
tree2bafd319b2dc5a9068af4e54bd95b46e137e723c /meta2/meta2.cpp
parent1bc101d3173029b6852965bd46a105fcb6ce17d0 (diff)
reorganised settings overrides
git-svn-id: https://server.scottellis.com.au/svn/mim_plugs@418 4f64403b-2f21-0410-a795-97e2b3489a10
Diffstat (limited to 'meta2/meta2.cpp')
-rw-r--r--meta2/meta2.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta2/meta2.cpp b/meta2/meta2.cpp
index 3eff626..447f681 100644
--- a/meta2/meta2.cpp
+++ b/meta2/meta2.cpp
@@ -20,6 +20,7 @@ PLUGINLINK *pluginLink;
MM_INTERFACE mmi;
UTF8_INTERFACE utfi;
HANDLE metaMainThread;
+int codepage;
PLUGININFOEX pluginInfo={
sizeof(PLUGININFOEX),
@@ -97,6 +98,7 @@ extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) {
mir_getMMI(&mmi);
mir_getUTFI(&utfi);
+ codepage = (int)CallService(MS_LANGPACK_GETCODEPAGE, 0, 0);
RedBlackTree<int> test;
test.add(1);
@@ -138,7 +140,7 @@ extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) {
DBWriteContactSettingByte(0, MODULE, "FirstRun", 0);
}
- InitSettings(link);
+ InitSettings();
// hook modules loaded
hModulesLoaded = HookEvent(ME_SYSTEM_MODULESLOADED, ModulesLoaded);