]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix startup on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Sat, 25 Feb 2017 15:12:14 +0000 (17:12 +0200)
committerKen Raeburn <raeburn@raeburn.org>
Sat, 22 Jul 2017 08:36:21 +0000 (04:36 -0400)
* emacs.c (main) [HAVE_NTGUI]: Call globals_of_w32* functions
unconditionally.

src/emacs.c

index b7c0b47cb29070b78801136f438b4f04d8bc7ad1..4b64a69c588fa0da035984eec11e71e11610c783 100644 (file)
@@ -1610,20 +1610,17 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
       keys_of_keymap ();
       keys_of_window ();
     }
-  else
-    {
-      /* Initialization that must be done even if the global variable
-        initialized is non zero.  */
+  /* Initialization that must be done even if the global variable
+     initialized is non zero.  */
 #ifdef HAVE_NTGUI
-      globals_of_w32font ();
-      globals_of_w32fns ();
-      globals_of_w32menu ();
+  globals_of_w32font ();
+  globals_of_w32fns ();
+  globals_of_w32menu ();
 #endif  /* HAVE_NTGUI */
 
 #if defined WINDOWSNT || defined HAVE_NTGUI
-      globals_of_w32select ();
+  globals_of_w32select ();
 #endif
-    }
 
   init_charset ();