From: jacob Date: Sat, 17 Feb 2007 17:44:24 +0000 (+0000) Subject: Unbreak "Duplicate session" on Windows, in a similar way to r7291. X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/accc77cbbcdd332dceb8c9713d0ce0196eb863da Unbreak "Duplicate session" on Windows, in a similar way to r7291. git-svn-id: svn://svn.tartarus.org/sgt/putty@7292 cda61777-01e9-0310-a592-d414129be87e --- diff --git a/windows/window.c b/windows/window.c index cb110647..ceeaa767 100644 --- a/windows/window.c +++ b/windows/window.c @@ -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); }