# HG changeset patch # User Richard Nelson # Date 1196665368 0 # Node ID ae95a171444280511152f3f55198d3d9cf3520e2 # Parent 84d1d66c73b6d04b919da21842f6e8fa0f925185# Parent e3e64d1e4869e3b3fe78e81d167110fcb7329375 merge of '0e466dc371b6b9abc7e5c3e8fbccfb5eabd06439' and '9b60657732e2c9dfce01b3f77e91a1bead862eab' diff -r e3e64d1e4869 -r ae95a1714442 finch/libgnt/gntcolors.c --- a/finch/libgnt/gntcolors.c Mon Dec 03 07:01:32 2007 +0000 +++ b/finch/libgnt/gntcolors.c Mon Dec 03 07:02:48 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++; }