# HG changeset patch # User Richard Nelson # Date 1196664953 0 # Node ID 84d1d66c73b6d04b919da21842f6e8fa0f925185 # Parent c9f02ad22269cbf3edb84feea76bbbe5afdc1717 disapproval of revision '872484bf9e23965956bacedc374083deeb3329d4' diff -r c9f02ad22269 -r 84d1d66c73b6 finch/libgnt/gntcolors.c --- a/finch/libgnt/gntcolors.c Sun Dec 02 07:16:05 2007 +0000 +++ b/finch/libgnt/gntcolors.c Mon Dec 03 06:55:53 2007 +0000 @@ -294,13 +294,6 @@ int gnt_color_add_pair(int fg, int bg) { - int i; - for (i = 1; i < custom_type; i++) { - short f, b; - if (pair_content(i, &f, &b) != ERR && - f == fg && b == bg) - return i; - } init_pair(custom_type, fg, bg); return custom_type++; }