[RAPPS] Fix command line handling

This commit is contained in:
Mark Jansen 2018-06-05 22:08:18 +02:00
parent 4f8dc9c266
commit f133d01f20
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
3 changed files with 7 additions and 7 deletions

View file

@ -160,7 +160,7 @@ INT WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLi
InitCommonControls();
// skip window creation if there were some keys
if (!UseCmdParameters(lpCmdLine))
if (!UseCmdParameters(GetCommandLineW()))
{
if (SettingsInfo.bUpdateAtStart || bIsFirstLaunch)
CAvailableApps::ForceUpdateAppsDB();