changeset 21740:ae95a1714442

merge of '0e466dc371b6b9abc7e5c3e8fbccfb5eabd06439' and '9b60657732e2c9dfce01b3f77e91a1bead862eab'
author Richard Nelson <wabz@pidgin.im>
date Mon, 03 Dec 2007 07:02:48 +0000
parents 84d1d66c73b6 (diff) e3e64d1e4869 (current diff)
children 34787c0d841c
files
diffstat 1 files changed, 0 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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++;
 }