]> asedeno.scripts.mit.edu Git - PuTTY.git/commitdiff
Don't explicitly open the logfile on startup; it'll automatically be opened
authorOwen Dunn <owen@greenend.org.uk>
Wed, 25 Jan 2006 22:46:33 +0000 (22:46 +0000)
committerOwen Dunn <owen@greenend.org.uk>
Wed, 25 Jan 2006 22:46:33 +0000 (22:46 +0000)
by logwrite() as necessary.  Should fix win-askappend-multi.

[originally from svn r6533]

windows/window.c

index aa936f39e072fc7d4ff2edb52ffbde7bdb773ef2..e5aa45b70ab79ec8bc7d1425a06d8af5463bf838 100644 (file)
@@ -795,11 +795,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!
      */