Don't explicitly open the logfile on startup; it'll automatically be opened
authorowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Wed, 25 Jan 2006 22:46:33 +0000 (22:46 +0000)
committerowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Wed, 25 Jan 2006 22:46:33 +0000 (22:46 +0000)
by logwrite() as necessary.  Should fix win-askappend-multi.

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

windows/window.c

index aa936f3..e5aa45b 100644 (file)
@@ -796,11 +796,6 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmdline, int show)
     set_input_locale(GetKeyboardLayout(0));
 
     /*
-     * Open the initial log file if there is one.
-     */
-    logfopen(logctx);
-
-    /*
      * Finally show the window!
      */
     ShowWindow(hwnd, show);