From d154673f93ad95197bce8cadb995daa5bc39f5d8 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 21 Jan 2014 20:04:48 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@7820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/miranda.cpp | 4 ++-- src/core/miranda.h | 1 + src/core/modules.cpp | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/core') diff --git a/src/core/miranda.cpp b/src/core/miranda.cpp index cf6dec614e..ff0536c310 100644 --- a/src/core/miranda.cpp +++ b/src/core/miranda.cpp @@ -83,7 +83,7 @@ static void __cdecl compactHeapsThread(void*) { Thread_SetName("compactHeapsThread"); - while ( !Miranda_Terminated()) { + while (!Miranda_Terminated()) { HANDLE hHeaps[256]; DWORD hc; SleepEx((1000*60)*5, TRUE); // every 5 minutes @@ -273,7 +273,7 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE, LPTSTR cmdLine, int) if (SetIdleCallback != NULL) SetIdleCallback(); } - else if ( !dying) { + else if (!dying) { dying++; SetEvent(hMirandaShutdown); NotifyEventHooks(hPreShutdownEvent, 0, 0); diff --git a/src/core/miranda.h b/src/core/miranda.h index 68e7e9f363..af34963011 100644 --- a/src/core/miranda.h +++ b/src/core/miranda.h @@ -79,6 +79,7 @@ extern HANDLE hOkToExitEvent, hModulesLoadedEvent, hevLoadModule, hevUnloadModul char* GetPluginNameByInstance(HINSTANCE hInstance); int GetPluginFakeId(const MUUID &uuid, int hLangpack); +int LoadStdPlugins(void); /**** path.cpp *************************************************************************/ diff --git a/src/core/modules.cpp b/src/core/modules.cpp index 5a991a6d39..75199b1c82 100644 --- a/src/core/modules.cpp +++ b/src/core/modules.cpp @@ -62,7 +62,6 @@ int LoadIcoLibModule(void); // ui: icons manager int LoadServiceModePlugin(void); int LoadDefaultServiceModePlugin(void); int LoadErrorsModule(void); -int LoadStdPlugins(void); void UnloadAccountsModule(void); void UnloadButtonModule(void); -- cgit v1.2.3