changeset 110655:63c8e1ad7b0f

src/w32console.c (vga_stdcolor_name): Remove unused function.
author Juanma Barranquero <lekktu@gmail.com>
date Thu, 30 Sep 2010 02:09:04 +0200
parents d631a67d1138
children c237dcab72bf
files src/ChangeLog src/w32console.c
diffstat 2 files changed, 5 insertions(+), 22 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Sep 29 20:52:34 2010 +0200
+++ b/src/ChangeLog	Thu Sep 30 02:09:04 2010 +0200
@@ -1,3 +1,8 @@
+2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
+
+	* w32console.c (vga_stdcolor_name): Remove unused function;
+	presumed dead after revno 82799 (2007-11-30).
+
 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 	* gnutls.c (emacs_gnutls_handshake): Made into internal function.
--- a/src/w32console.c	Wed Sep 29 20:52:34 2010 +0200
+++ b/src/w32console.c	Thu Sep 30 02:09:04 2010 +0200
@@ -585,28 +585,6 @@
   return char_attr;
 }
 
-
-
-/* Given a color index, return its standard name.  */
-Lisp_Object
-vga_stdcolor_name (int idx)
-{
-  /* Standard VGA colors, in the order of their standard numbering
-     in the default VGA palette.  */
-  static char *vga_colors[16] = {
-    "black", "blue", "green", "cyan", "red", "magenta", "brown",
-    "lightgray", "darkgray", "lightblue", "lightgreen", "lightcyan",
-    "lightred", "lightmagenta", "yellow", "white"
-  };
-
-  extern Lisp_Object Qunspecified;
-
-  if (idx >= 0 && idx < sizeof (vga_colors) / sizeof (vga_colors[0]))
-    return build_string (vga_colors[idx]);
-  else
-    return Qunspecified;	/* meaning the default */
-}
-
 void
 initialize_w32_display (struct terminal *term)
 {