diff options
Diffstat (limited to 'tipper/tipper.cpp')
-rw-r--r-- | tipper/tipper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tipper/tipper.cpp b/tipper/tipper.cpp index 100ecf9..59a5117 100644 --- a/tipper/tipper.cpp +++ b/tipper/tipper.cpp @@ -396,7 +396,7 @@ HANDLE hEventPreShutdown, hEventModulesLoaded; extern "C" int TIPPER_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();
|