From: Geoff Voelker Date: Tue, 27 Oct 1998 20:10:19 +0000 (+0000) Subject: (w32_color_map_lookup): Remove duplicate definition. X-Git-Tag: emacs-20.4~1391 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=5d84dd87147f39afd4bcb62c86e4db4e8c97a17a;p=emacs.git (w32_color_map_lookup): Remove duplicate definition. --- diff --git a/src/w32fns.c b/src/w32fns.c index 8c0d93b0e66..5b65821dbda 100644 --- a/src/w32fns.c +++ b/src/w32fns.c @@ -1310,38 +1310,6 @@ w32_color_map_lookup (colorname) 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;