mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[RAPPS] Renamed CmdParser to UseCmdParameters
svn path=/branches/GSoC_2017/rapps/; revision=75813
This commit is contained in:
parent
3bb7be0c59
commit
a2bf4ef201
3 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
#define MIN_ARGS 2
|
||||
|
||||
BOOL CmdParser(LPWSTR lpCmdLine)
|
||||
BOOL UseCmdParameters(LPWSTR lpCmdLine)
|
||||
{
|
||||
INT argc;
|
||||
LPWSTR* argv = CommandLineToArgvW(lpCmdLine, &argc);
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue