mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 08:25:48 +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"
|
#define CMD_KEY_SETUP L"/SETUP"
|
||||||
|
|
||||||
// return TRUE if the SETUP key was valid
|
// return TRUE if the SETUP key was valid
|
||||||
BOOL CmdParser(LPWSTR lpCmdLine);
|
BOOL UseCmdParameters(LPWSTR lpCmdLine);
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
#define MIN_ARGS 2
|
#define MIN_ARGS 2
|
||||||
|
|
||||||
BOOL CmdParser(LPWSTR lpCmdLine)
|
BOOL UseCmdParameters(LPWSTR lpCmdLine)
|
||||||
{
|
{
|
||||||
INT argc;
|
INT argc;
|
||||||
LPWSTR* argv = CommandLineToArgvW(lpCmdLine, &argc);
|
LPWSTR* argv = CommandLineToArgvW(lpCmdLine, &argc);
|
||||||
|
|
|
@ -160,7 +160,7 @@ INT WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
|
||||||
InitCommonControls();
|
InitCommonControls();
|
||||||
|
|
||||||
// skip window creation if there were some keys
|
// skip window creation if there were some keys
|
||||||
if (!CmdParser(lpCmdLine))
|
if (!UseCmdParameters(lpCmdLine))
|
||||||
{
|
{
|
||||||
if (SettingsInfo.bUpdateAtStart || bIsFirstLaunch)
|
if (SettingsInfo.bUpdateAtStart || bIsFirstLaunch)
|
||||||
CAvailableApps::ForceUpdateAppsDB();
|
CAvailableApps::ForceUpdateAppsDB();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue