]> git.eshelyaron.com Git - emacs.git/commitdiff
(map_tty_color, tty_color_name): Remove special case for WINDOWSNT.
authorJason Rumney <jasonr@gnu.org>
Fri, 30 Nov 2007 13:56:27 +0000 (13:56 +0000)
committerJason Rumney <jasonr@gnu.org>
Fri, 30 Nov 2007 13:56:27 +0000 (13:56 +0000)
src/xfaces.c

index 36bbacb84ce375be2e8e9197308e41babcae1529..c4b19c71bb17ba674127d7f988ecdc6458f997ef 100644 (file)
@@ -1463,10 +1463,6 @@ tty_color_name (f, idx)
   if (idx == FACE_TTY_DEFAULT_BG_COLOR)
     return build_string (unspecified_bg);
 
-#ifdef WINDOWSNT
-  return vga_stdcolor_name (idx);
-#endif
-
   return Qunspecified;
 }
 
@@ -7464,13 +7460,11 @@ map_tty_color (f, face, idx, defaulted)
     {
       pixel = load_color (f, face, color, idx);
 
-#if defined (MSDOS) || defined (WINDOWSNT)
+#ifdef MSDOS
       /* If the foreground of the default face is the default color,
         use the foreground color defined by the frame.  */
-#ifdef MSDOS
       if (FRAME_MSDOS_P (f))
        {
-#endif /* MSDOS */
          if (pixel == default_pixel
              || pixel == FACE_TTY_DEFAULT_COLOR)
            {
@@ -7490,10 +7484,8 @@ map_tty_color (f, face, idx, defaulted)
              face->lface[idx] = tty_color_name (f, pixel);
              *defaulted = 1;
            }
-#ifdef MSDOS
-       }
-#endif
-#endif /* MSDOS or WINDOWSNT */
+        }
+#endif /* MSDOS */
     }
 
   if (foreground_p)