From 2fc26735fd90e805e971f66e12580bb507e4130e Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 31 Jul 2001 20:57:45 +0000 Subject: (test_mouse): s/my (.*) = 0 if 0/my $1 if 0/ --- perl-install/install_gtk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/install_gtk.pm') diff --git a/perl-install/install_gtk.pm b/perl-install/install_gtk.pm index 880c09e6b..2c198464c 100644 --- a/perl-install/install_gtk.pm +++ b/perl-install/install_gtk.pm @@ -461,7 +461,7 @@ sub test_mouse { $mouse->{nbuttons} = max($mouse->{nbuttons}, 5); #- it means, the mouse has more than 3 buttons... $draw_rect->(1, 0, [ $x, $y, $w, $h ]); - my $offset = 0 if 0; + my $offset if 0; $offset += $_[0] if $_[0]; my $step = 10; for (my $i = $offset % $step; $i < $h; $i += $step) { -- cgit v1.2.1