aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2010-09-30 02:09:04 +0200
committerJuanma Barranquero2010-09-30 02:09:04 +0200
commit1becef93b4ab54202d07ffd5cd6b364b300d23a2 (patch)
treea09914fe2d82bc663c613567545e672ff3a6fbd9
parent6b0f7311f16646e0de2045b2410e20921901c616 (diff)
downloademacs-1becef93b4ab54202d07ffd5cd6b364b300d23a2.tar.gz
emacs-1becef93b4ab54202d07ffd5cd6b364b300d23a2.zip
src/w32console.c (vga_stdcolor_name): Remove unused function.
-rw-r--r--src/ChangeLog5
-rw-r--r--src/w32console.c22
2 files changed, 5 insertions, 22 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index de4ba68bdc0..ba21c2a411b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12010-09-30 Juanma Barranquero <lekktu@gmail.com>
2
3 * w32console.c (vga_stdcolor_name): Remove unused function;
4 presumed dead after 2007-11-30T13:57:21Z!jasonr@gnu.org.
5
12010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org> 62010-09-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
2 7
3 * gnutls.c (emacs_gnutls_handshake): Made into internal function. 8 * gnutls.c (emacs_gnutls_handshake): Made into internal function.
diff --git a/src/w32console.c b/src/w32console.c
index 26fa544d670..c39a65f59ff 100644
--- a/src/w32console.c
+++ b/src/w32console.c
@@ -585,28 +585,6 @@ w32_face_attributes (struct frame *f, int face_id)
585 return char_attr; 585 return char_attr;
586} 586}
587 587
588
589
590/* Given a color index, return its standard name. */
591Lisp_Object
592vga_stdcolor_name (int idx)
593{
594 /* Standard VGA colors, in the order of their standard numbering
595 in the default VGA palette. */
596 static char *vga_colors[16] = {
597 "black", "blue", "green", "cyan", "red", "magenta", "brown",
598 "lightgray", "darkgray", "lightblue", "lightgreen", "lightcyan",
599 "lightred", "lightmagenta", "yellow", "white"
600 };
601
602 extern Lisp_Object Qunspecified;
603
604 if (idx >= 0 && idx < sizeof (vga_colors) / sizeof (vga_colors[0]))
605 return build_string (vga_colors[idx]);
606 else
607 return Qunspecified; /* meaning the default */
608}
609
610void 588void
611initialize_w32_display (struct terminal *term) 589initialize_w32_display (struct terminal *term)
612{ 590{