From a2bf4ef201f015eaba4a6e2204783047cacf7e8a Mon Sep 17 00:00:00 2001 From: Alexander Shaposhnikov Date: Sat, 9 Sep 2017 19:41:08 +0000 Subject: [PATCH] [RAPPS] Renamed CmdParser to UseCmdParameters svn path=/branches/GSoC_2017/rapps/; revision=75813 --- reactos/base/applications/rapps/include/unattended.h | 2 +- reactos/base/applications/rapps/unattended.cpp | 2 +- reactos/base/applications/rapps/winmain.cpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reactos/base/applications/rapps/include/unattended.h b/reactos/base/applications/rapps/include/unattended.h index 2adb03f514a..02ed24583e6 100644 --- a/reactos/base/applications/rapps/include/unattended.h +++ b/reactos/base/applications/rapps/include/unattended.h @@ -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); diff --git a/reactos/base/applications/rapps/unattended.cpp b/reactos/base/applications/rapps/unattended.cpp index 128aa63abea..974889832d2 100644 --- a/reactos/base/applications/rapps/unattended.cpp +++ b/reactos/base/applications/rapps/unattended.cpp @@ -15,7 +15,7 @@ #define MIN_ARGS 2 -BOOL CmdParser(LPWSTR lpCmdLine) +BOOL UseCmdParameters(LPWSTR lpCmdLine) { INT argc; LPWSTR* argv = CommandLineToArgvW(lpCmdLine, &argc); diff --git a/reactos/base/applications/rapps/winmain.cpp b/reactos/base/applications/rapps/winmain.cpp index 0633200aa97..4296ef35ff8 100644 --- a/reactos/base/applications/rapps/winmain.cpp +++ b/reactos/base/applications/rapps/winmain.cpp @@ -160,7 +160,7 @@ INT WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi InitCommonControls(); // skip window creation if there were some keys - if (!CmdParser(lpCmdLine)) + if (!UseCmdParameters(lpCmdLine)) { if (SettingsInfo.bUpdateAtStart || bIsFirstLaunch) CAvailableApps::ForceUpdateAppsDB();