Update of /cvsroot/gaim/gaim/src
In directory usw-pr-cvs1:/tmp/cvs-serv22576/src
Modified Files:
dialogs.c
Log Message:
more i18n work from paco-paco and a fix for colors with high intensity from
Alex Converse (alex4)
Index: dialogs.c
===================================================================
RCS file: /cvsroot/gaim/gaim/src/dialogs.c,v
retrieving revision 1.346
retrieving revision 1.347
diff -u -d -r1.346 -r1.347
--- dialogs.c 12 Oct 2002 01:30:44 -0000 1.346
+++ dialogs.c 12 Oct 2002 20:45:00 -0000 1.347
@@ -3046,9 +3046,9 @@
c = gtk_object_get_user_data(GTK_OBJECT(colorsel));
/* GTK_IS_EDITABLE(c->entry); huh? */
- text_color.red = text_color.red * 256 / 65535;
- text_color.green = text_color.green * 256 /65535;
- text_color.blue = text_color.blue * 256 / 65535;
+ text_color.red = text_color.red / 256;
+ text_color.green = text_color.green / 256;
+ text_color.blue = text_color.blue / 256;
c->fgcol = text_color;
c->hasfg = 1;
@@ -3073,9 +3073,9 @@
c = gtk_object_get_user_data(GTK_OBJECT(colorsel));
/* GTK_IS_EDITABLE(c->entry); huh? */
- text_color.red = text_color.red * 256 / 65535;
- text_color.green = text_color.green * 256 /65535;
- text_color.blue = text_color.blue * 256 / 65535;
+ text_color.red = text_color.red / 256;
+ text_color.green = text_color.green / 256;
+ text_color.blue = text_color.blue / 256;
c->bgcol = text_color;
c->hasbg = 1;
|