From bde251eb49f0a55b0109b84e46e5721459fb27e6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Fri, 12 Nov 2004 17:16:17 +0000 Subject: fix converting the background color --- perl-install/install_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 066223316..48dc018e9 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -64,7 +64,7 @@ sub load_rc { Gtk2::Rc->parse_string(join("\n", @contents)); foreach (@contents) { if (/style\s+"background"/ .. /^\s*$/) { - @background = map { $_ * 256 * 257 } split ',', $1 if /NORMAL.*\{(.*)\}/; + @background = map { $_ * 255 * 255 } split ',', $1 if /NORMAL.*\{(.*)\}/; } } } -- cgit v1.2.1