diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-06 21:50:32 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-06 21:50:32 +0000 |
commit | f6943a588688a64a0154a0bc3a2a56ad8727e9fa (patch) | |
tree | da49067b51df8d3804da66e45133026fcdaaf844 /src/core | |
parent | 5168d31375c1938ee2af11ca95ffacd53640e093 (diff) |
fix for doubled menu items in Core plugins
git-svn-id: http://svn.miranda-ng.org/main/trunk@802 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/miranda.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp index 4ee236537f..be4a7691f5 100644 --- a/src/core/miranda.cpp +++ b/src/core/miranda.cpp @@ -86,6 +86,7 @@ static int waitObjectCount = 0; HANDLE hMirandaShutdown;
HINSTANCE hInst;
int hLangpack = 0;
+bool bModulesLoadedFired = false;
/////////////////////////////////////////////////////////////////////////////////////////
// exception handling
@@ -298,6 +299,7 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE, LPSTR, int) goto exit;
}
NotifyEventHooks(hModulesLoadedEvent, 0, 0);
+ bModulesLoadedFired = true;
// ensure that the kernel hooks the SystemShutdownProc() after all plugins
HookEvent(ME_SYSTEM_SHUTDOWN, SystemShutdownProc);
|