From a7503387944a905644cc4123848b74075fb7808b Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Wed, 27 Apr 2005 13:58:23 +0000 Subject: Fix syntax error --- rpmdrake.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpmdrake.pm b/rpmdrake.pm index aeecf930..e78e9eef 100644 --- a/rpmdrake.pm +++ b/rpmdrake.pm @@ -109,7 +109,7 @@ sub rpmdrake::prompt::prompt { (map { gtkpack( Gtk2::HBox->new(0, 5), Gtk2::Label->new($self->{prompts}[$_]), - $answers[$i] = gtkentry(), + $answers[$_] = gtkentry(), ) } 0 .. $#{$self->{prompts}}), gtksignal_connect(Gtk2::Button->new(N("Ok")), clicked => sub { Gtk2->main_quit }), ), -- cgit v1.2.1