From c8deb2a34dd157921bd87d175b39cba6964bc20e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 26 Jul 2012 17:43:36 +0000 Subject: simple command-line analyzer git-svn-id: http://svn.miranda-ng.org/main/trunk@1199 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/core/modules.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/core/modules.cpp') diff --git a/src/core/modules.cpp b/src/core/modules.cpp index e44114cf96..1023506247 100644 --- a/src/core/modules.cpp +++ b/src/core/modules.cpp @@ -30,7 +30,8 @@ static DWORD mainThreadId; static HANDLE hMainThread; static HANDLE hMissingService; -void ParseCommandLine(); // core: IDD_WAITRESTART +void CheckRestart(); // core: IDD_WAITRESTART + int LoadSystemModule(void); // core: m_system.h services int LoadNewPluginsModuleInfos(void); // core: preloading plugins int LoadNewPluginsModule(void); // core: N.O. plugins @@ -86,7 +87,7 @@ int LoadDefaultModules(void) //load order is very important for these if ( LoadSystemModule()) return 1; if ( LoadLangpackModule()) return 1; // langpack will be a system module in the new order so this is moved here - ParseCommandLine(); // IDD_WAITRESTART need langpack so this is moved here + CheckRestart(); if ( LoadUtilsModule()) return 1; //order not important for this, but no dependencies and no point in pluginising if ( LoadIcoTabsModule()) return 1; if ( LoadHeaderbarModule()) return 1; -- cgit v1.2.3