Author: ashaposhnikov Date: Sat Sep 9 19:41:08 2017 New Revision: 75813
URL: http://svn.reactos.org/svn/reactos?rev=75813&view=rev Log: [RAPPS] Renamed CmdParser to UseCmdParameters
Modified: branches/GSoC_2017/rapps/reactos/base/applications/rapps/include/unattended.h branches/GSoC_2017/rapps/reactos/base/applications/rapps/unattended.cpp branches/GSoC_2017/rapps/reactos/base/applications/rapps/winmain.cpp
Modified: branches/GSoC_2017/rapps/reactos/base/applications/rapps/include/unattended.h URL: http://svn.reactos.org/svn/reactos/branches/GSoC_2017/rapps/reactos/base/app... ============================================================================== --- branches/GSoC_2017/rapps/reactos/base/applications/rapps/include/unattended.h [iso-8859-1] (original) +++ branches/GSoC_2017/rapps/reactos/base/applications/rapps/include/unattended.h [iso-8859-1] Sat Sep 9 19:41:08 2017 @@ -5,4 +5,4 @@ #define CMD_KEY_SETUP L"/SETUP"
// return TRUE if the SETUP key was valid -BOOL CmdParser(LPWSTR lpCmdLine); +BOOL UseCmdParameters(LPWSTR lpCmdLine);
Modified: branches/GSoC_2017/rapps/reactos/base/applications/rapps/unattended.cpp URL: http://svn.reactos.org/svn/reactos/branches/GSoC_2017/rapps/reactos/base/app... ============================================================================== --- branches/GSoC_2017/rapps/reactos/base/applications/rapps/unattended.cpp [iso-8859-1] (original) +++ branches/GSoC_2017/rapps/reactos/base/applications/rapps/unattended.cpp [iso-8859-1] Sat Sep 9 19:41:08 2017 @@ -15,7 +15,7 @@
#define MIN_ARGS 2
-BOOL CmdParser(LPWSTR lpCmdLine) +BOOL UseCmdParameters(LPWSTR lpCmdLine) { INT argc; LPWSTR* argv = CommandLineToArgvW(lpCmdLine, &argc);
Modified: branches/GSoC_2017/rapps/reactos/base/applications/rapps/winmain.cpp URL: http://svn.reactos.org/svn/reactos/branches/GSoC_2017/rapps/reactos/base/app... ============================================================================== --- branches/GSoC_2017/rapps/reactos/base/applications/rapps/winmain.cpp [iso-8859-1] (original) +++ branches/GSoC_2017/rapps/reactos/base/applications/rapps/winmain.cpp [iso-8859-1] Sat Sep 9 19:41:08 2017 @@ -160,7 +160,7 @@ InitCommonControls();
// skip window creation if there were some keys - if (!CmdParser(lpCmdLine)) + if (!UseCmdParameters(lpCmdLine)) { if (SettingsInfo.bUpdateAtStart || bIsFirstLaunch) CAvailableApps::ForceUpdateAppsDB();