summaryrefslogtreecommitdiff
path: root/meta2/meta2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'meta2/meta2.cpp')
-rw-r--r--meta2/meta2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta2/meta2.cpp b/meta2/meta2.cpp
index 5f48f27..72dd822 100644
--- a/meta2/meta2.cpp
+++ b/meta2/meta2.cpp
@@ -94,7 +94,7 @@ int ModulesLoaded(WPARAM wParam, LPARAM lParam) {
HANDLE hModulesLoaded;
extern "C" __declspec (dllexport) int Load(PLUGINLINK *link) {
pluginLink=link;
- DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &metaMainThread, THREAD_SET_CONTEXT, FALSE, 0 );
+ DuplicateHandle( GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &metaMainThread, 0, FALSE, DUPLICATE_SAME_ACCESS );
mir_getMMI(&mmi);
mir_getUTFI(&utfi);