]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/emacs.c (main): Combine two conditions to one
authorYuuki Harano <masm+github@masm11.me>
Tue, 23 Nov 2021 13:49:03 +0000 (22:49 +0900)
committerYuuki Harano <masm+github@masm11.me>
Tue, 23 Nov 2021 13:49:03 +0000 (22:49 +0900)
src/emacs.c

index 790740deb1a7a3b84165ec8328d2c27e34334875..adac8fc38ab02d8c0ec454a8272591494770e037 100644 (file)
@@ -2287,10 +2287,8 @@ Using an Emacs configured with --with-x-toolkit=lucid does not have this problem
 #ifdef HAVE_DBUS
   init_dbusbind ();
 #endif
-#ifdef USE_GTK
-#ifndef HAVE_PGTK
+#if defined(USE_GTK) && !defined(HAVE_PGTK)
   init_xterm ();
-#endif
 #endif
 
   /* This can create a thread that may call getenv, so it must follow