]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Unbreak "Duplicate session" on Windows, in a similar way to r7291.
authorJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 17 Feb 2007 17:44:24 +0000 (17:44 +0000)
committerJacob Nevins <jacobn@chiark.greenend.org.uk>
Sat, 17 Feb 2007 17:44:24 +0000 (17:44 +0000)
[originally from svn r7292]
[r7291 == 062b5ab3e412435b9c452b371b51beeaa026608e]

windows/window.c

index cb110647d240d3315bc3fdd70a29510c68206fc4..ceeaa767665f8fc295d2469a1bfbc5e5649eaaff 100644 (file)
@@ -413,6 +413,7 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
                cfg = *cp;
                UnmapViewOfFile(cp);
                CloseHandle(filemap);
+               loaded_session = TRUE;
            } else if (!do_config()) {
                cleanup_exit(0);
            }