Unbreak "Duplicate session" on Windows, in a similar way to r7291.
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 17 Feb 2007 17:44:24 +0000 (17:44 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Sat, 17 Feb 2007 17:44:24 +0000 (17:44 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/putty@7292 cda61777-01e9-0310-a592-d414129be87e

windows/window.c

index cb11064..ceeaa76 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);
            }