diff options
author | George Hazan <george.hazan@gmail.com> | 2014-01-21 20:04:48 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2014-01-21 20:04:48 +0000 |
commit | d154673f93ad95197bce8cadb995daa5bc39f5d8 (patch) | |
tree | 191522aa88f9f845a9c27b1ddb86116b87033c4b /src/core | |
parent | be50a70bfd8b3f3daf0c3351fdce6e2fea515bd7 (diff) |
minor code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@7820 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/miranda.cpp | 4 | ||||
-rw-r--r-- | src/core/miranda.h | 1 | ||||
-rw-r--r-- | src/core/modules.cpp | 1 |
3 files changed, 3 insertions, 3 deletions
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);
|