mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 23:50:05 +00:00
Don't display cabinet window in desktop mode as default
svn path=/trunk/; revision=7262
This commit is contained in:
parent
b5391fbee5
commit
59e174e888
|
@ -236,14 +236,12 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdL
|
|||
// If there is given the command line option "-desktop", create desktop window anyways
|
||||
if (_tcsstr(lpCmdLine,TEXT("-desktop")))
|
||||
startup_desktop = TRUE;
|
||||
|
||||
if (_tcsstr(lpCmdLine,TEXT("-nodesktop")))
|
||||
else if (_tcsstr(lpCmdLine,TEXT("-nodesktop")))
|
||||
startup_desktop = FALSE;
|
||||
|
||||
if (_tcsstr(lpCmdLine,TEXT("-noexplorer"))) {
|
||||
// Don't display cabinet window in desktop mode
|
||||
if (startup_desktop && !_tcsstr(lpCmdLine,TEXT("-explorer")))
|
||||
nShowCmd = SW_HIDE;
|
||||
startup_desktop = TRUE;
|
||||
}
|
||||
|
||||
if (_tcsstr(lpCmdLine,TEXT("-noautostart")))
|
||||
autostart = false;
|
||||
|
|
Loading…
Reference in a new issue