command line option -nodesktop

svn path=/trunk/; revision=6088
This commit is contained in:
Martin Fuchs 2003-09-16 17:59:23 +00:00
parent 1f1078fba3
commit d1e179a339

View file

@ -163,6 +163,9 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdL
if (!lstrcmp(lpCmdLine,TEXT("-desktop")))
startup_desktop = TRUE;
if (!lstrcmp(lpCmdLine,TEXT("-nodesktop")))
startup_desktop = FALSE;
if (!lstrcmp(lpCmdLine,TEXT("-noexplorer"))) {
nShowCmd = SW_HIDE;
startup_desktop = TRUE;