]> git.eshelyaron.com Git - emacs.git/commitdiff
(w32_color_map_lookup): Remove duplicate definition.
authorGeoff Voelker <voelker@cs.washington.edu>
Tue, 27 Oct 1998 20:10:19 +0000 (20:10 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Tue, 27 Oct 1998 20:10:19 +0000 (20:10 +0000)
src/w32fns.c

index 8c0d93b0e66c762fe26ede53486dbe52c5ddafb3..5b65821dbda463b907fe2217cf8b5b8e19cc1c46 100644 (file)
@@ -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;