r7265 broke the legacy `putty @sessionname' construction, which I
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 16 Feb 2007 18:44:07 +0000 (18:44 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Fri, 16 Feb 2007 18:44:07 +0000 (18:44 +0000)
wouldn't care about except for the fact that it's still used to
implement the Saved Sessions menu item in PuTTY and Pageant.

git-svn-id: svn://svn.tartarus.org/sgt/putty@7291 cda61777-01e9-0310-a592-d414129be87e

windows/window.c

index b7561cf..cb11064 100644 (file)
@@ -397,6 +397,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
            if (!cfg_launchable(&cfg) && !do_config()) {
                cleanup_exit(0);
            }
+           loaded_session = TRUE;     /* allow it to be launched directly */
        } else if (*p == '&') {
            /*
             * An initial & means we've been given a command line