diff src/redisplay.c @ 209:41ff10fd062f r20-4b3

Import from CVS: tag r20-4b3
author cvs
date Mon, 13 Aug 2007 10:04:58 +0200
parents a2f645c6b9f8
children 78478c60bfcd
line wrap: on
line diff
--- a/src/redisplay.c	Mon Aug 13 10:03:54 2007 +0200
+++ b/src/redisplay.c	Mon Aug 13 10:04:58 2007 +0200
@@ -5845,11 +5845,11 @@
 
       /* indicate TEXT or BINARY */
     case 't':
-#ifdef MSDOS
+#ifdef DOS_NT
       str = NILP (b->buffer_file_type) ? "T" : "B";
-#else /* not MSDOS */
+#else /* not DOS_NT */
       str = "T";
-#endif /* not MSDOS */
+#endif /* not DOS_NT */
       break;
 
       /* print percent of buffer above top of window, or Top, Bot or All */
@@ -8114,6 +8114,16 @@
     }
 #endif /* HAVE_X_WINDOWS */
 
+#ifdef HAVE_W32GUI
+  if (!strcmp (display_use, "w32"))
+    {
+      /* Some stuff checks this way early. */
+      Vwindow_system = Qw32;
+      Vinitial_window_system = Qw32;
+      return;
+    }
+#endif /* HAVE_W32GUI */
+
   /* If no window system has been specified, try to use the terminal.  */
   if (!isatty (0))
     {