--- libsx-2.05/src/colorsel.c.trunc 2009-09-23 16:12:48.000000000 +0200 +++ libsx-2.05/src/colorsel.c 2009-09-23 16:24:20.000000000 +0200 @@ -65,6 +65,7 @@ static void show_best_match(Widget w, CSelData *cdata); */ +#define trunc colorsel_trunc int trunc(float v) { return (int)(0.5+v);