]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
r7265 broke the legacy `putty @sessionname' construction, which I
authorSimon Tatham <anakin@pobox.com>
Fri, 16 Feb 2007 18:44:07 +0000 (18:44 +0000)
committerSimon Tatham <anakin@pobox.com>
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.

[originally from svn r7291]
[r7265 == 5d76e00dac9220e8798e4d0f17a4069a58ae1667]

windows/window.c

index b7561cf22a90db3628e485f561ed3d5c50e91ffa..cb110647d240d3315bc3fdd70a29510c68206fc4 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