Mercurial > emacs
changeset 23558:e4ba6b999a35
(w32_color_map_lookup): Remove duplicate definition.
author | Geoff Voelker <voelker@cs.washington.edu> |
---|---|
date | Tue, 27 Oct 1998 20:10:19 +0000 |
parents | 1a67e5327a04 |
children | 989c9cb875e3 |
files | src/w32fns.c |
diffstat | 1 files changed, 0 insertions(+), 32 deletions(-) [+] |
line wrap: on
line diff
--- a/src/w32fns.c Tue Oct 27 17:55:28 1998 +0000 +++ b/src/w32fns.c Tue Oct 27 20:10:19 1998 +0000 @@ -1310,38 +1310,6 @@ return ret; } -COLORREF -w32_color_map_lookup (colorname) - char *colorname; -{ - Lisp_Object tail, ret = Qnil; - - BLOCK_INPUT; - - for (tail = Vw32_color_map; !NILP (tail); tail = Fcdr (tail)) - { - register Lisp_Object elt, tem; - - elt = Fcar (tail); - if (!CONSP (elt)) continue; - - tem = Fcar (elt); - - if (lstrcmpi (XSTRING (tem)->data, colorname) == 0) - { - ret = XUINT (Fcdr (elt)); - break; - } - - QUIT; - } - - - UNBLOCK_INPUT; - - return ret; -} - COLORREF x_to_w32_color (colorname) char * colorname;