mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 16:45:50 +00:00
[APPWIZ] start_params: Simplify using L"..."
This commit is contained in:
parent
df531336b1
commit
1e5e184cbd
1 changed files with 5 additions and 6 deletions
|
@ -16,18 +16,17 @@ HINSTANCE hApplet = NULL;
|
|||
|
||||
static LONG start_params(const WCHAR *params, HWND hwnd_parent)
|
||||
{
|
||||
static const WCHAR install_geckoW[] = {'i','n','s','t','a','l','l','_','g','e','c','k','o',0};
|
||||
static const WCHAR install_monoW[] = {'i','n','s','t','a','l','l','_','m','o','n','o',0};
|
||||
|
||||
if(!params)
|
||||
if (!params)
|
||||
return FALSE;
|
||||
|
||||
if(!strcmpW(params, install_geckoW)) {
|
||||
if (!strcmpW(params, L"install_gecko"))
|
||||
{
|
||||
install_addon(ADDON_GECKO, hwnd_parent);
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if(!strcmpW(params, install_monoW)) {
|
||||
if (!strcmpW(params, L"install_mono"))
|
||||
{
|
||||
install_addon(ADDON_MONO, hwnd_parent);
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue