X-Git-Url: http://git.wpitchoune.net/gitweb/?a=blobdiff_plain;f=src%2Fui_color.c;h=85277ff8b949c6b4326ffe19e1d9eb4a0a7eeb09;hb=5c1e07fec97e34a94331b6b47e25c98f2b2e4cce;hp=d7f6eff14ddd64cff43994b7e5c40c7db385442e;hpb=048babad890813edddc887c425a6c34b6260e287;p=psensor-pkg-ubuntu.git diff --git a/src/ui_color.c b/src/ui_color.c index d7f6eff..85277ff 100644 --- a/src/ui_color.c +++ b/src/ui_color.c @@ -63,7 +63,7 @@ int ui_change_color(const char *title, struct color *col, GtkWindow *win) else b = color.blue; - color_set(col, 65535*r, 65535*g, 65535*b); + color_set(col, r, g, b); } gtk_widget_destroy(GTK_WIDGET(colordlg));