im.pidgin.pidgin: 0e466dc371b6b9abc7e5c3e8fbccfb5eabd06439
wabz at pidgin.im
wabz at pidgin.im
Mon Dec 3 02:10:47 EST 2007
-----------------------------------------------------------------
Revision: 0e466dc371b6b9abc7e5c3e8fbccfb5eabd06439
Ancestor: 872484bf9e23965956bacedc374083deeb3329d4
Author: wabz at pidgin.im
Date: 2007-12-03T06:55:53
Branch: im.pidgin.pidgin
Modified files:
finch/libgnt/gntcolors.c
ChangeLog:
disapproval of revision '872484bf9e23965956bacedc374083deeb3329d4'
-------------- next part --------------
============================================================
--- finch/libgnt/gntcolors.c f51ccbc7749fd0a6361fc6edc41cccdd2d85efe0
+++ finch/libgnt/gntcolors.c 77e9ad645a3e0e458240eec63b91fe1242bd5fda
@@ -294,13 +294,6 @@ int gnt_color_add_pair(int fg, int bg)
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++;
}
More information about the Commits
mailing list