X-Git-Url: http://git.wpitchoune.net/gitweb/?p=psensor-pkg-ubuntu.git;a=blobdiff_plain;f=src%2Fui_color.c;h=85277ff8b949c6b4326ffe19e1d9eb4a0a7eeb09;hp=cae61f0c3248af71821b4698c501d46e83b2ea44;hb=e7dc97f65bb3c901385f575bce767f1180ec43d8;hpb=2e68c12dc10ca8c06b03aad6b4e44144a9134cd5 diff --git a/src/ui_color.c b/src/ui_color.c index cae61f0..85277ff 100644 --- a/src/ui_color.c +++ b/src/ui_color.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2013 jeanfi@gmail.com + * Copyright (C) 2010-2014 jeanfi@gmail.com * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -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));