[RAPPS] Renamed CmdParser to UseCmdParameters

svn path=/branches/GSoC_2017/rapps/; revision=75813
This commit is contained in:
Alexander Shaposhnikov 2017-09-09 19:41:08 +00:00
parent 3bb7be0c59
commit a2bf4ef201
3 changed files with 3 additions and 3 deletions

View file

@ -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);

View file

@ -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);

View file

@ -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();