From 8aedeab84e0352d1a61e46bb6e6ea7b2bf7a29bf Mon Sep 17 00:00:00 2001 From: Martin Fuchs Date: Mon, 10 Nov 2003 22:23:23 +0000 Subject: [PATCH] call startup routine in SESSION_START mode svn path=/trunk/; revision=6610 --- reactos/subsys/system/explorer/explorer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/subsys/system/explorer/explorer.cpp b/reactos/subsys/system/explorer/explorer.cpp index 078a1cdf2ee..39a31eaacc5 100644 --- a/reactos/subsys/system/explorer/explorer.cpp +++ b/reactos/subsys/system/explorer/explorer.cpp @@ -252,8 +252,8 @@ int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdL if (autostart) { - char* argv[] = {""}; - startup(1, argv); + char* argv[] = {"", "s"}; // call startup routine in SESSION_START mode + startup(2, argv); } }