(create_process): Get a pty for any non-nil Vprocess_connection_type value.
[bpt/emacs.git] / src / process.c
index 2e5631a..6a65a16 100644 (file)
@@ -1159,7 +1159,7 @@ create_process (process, new_argv, current_dir)
   inchannel = outchannel = -1;
 
 #ifdef HAVE_PTYS
-  if (EQ (Vprocess_connection_type, Qt))
+  if (!NILP (Vprocess_connection_type))
     outchannel = inchannel = allocate_pty ();
 
   if (inchannel >= 0)