diff options
Diffstat (limited to 'yapp/popups2.cpp')
-rw-r--r-- | yapp/popups2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yapp/popups2.cpp b/yapp/popups2.cpp index 80c057a..134e648 100644 --- a/yapp/popups2.cpp +++ b/yapp/popups2.cpp @@ -332,7 +332,7 @@ HANDLE hEventPreShutdown, hEventModulesLoaded; extern "C" int POPUPS2_API Load(PLUGINLINK *link) {
pluginLink = link;
- DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, THREAD_SET_CONTEXT, FALSE, 0);
+ DuplicateHandle(GetCurrentProcess(), GetCurrentThread(), GetCurrentProcess(), &mainThread, 0, FALSE, DUPLICATE_SAME_ACCESS);
set_codepage();
|