summaryrefslogtreecommitdiffstats
path: root/perl-install/interactive.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2003-07-15 18:21:38 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2003-07-15 18:21:38 +0000
commitbe94d4b3cbbb94c07cb0f0e8942751dc3419b2c8 (patch)
treef5b1e41b096821a5ccb704e9ebc8d43fa4d78952 /perl-install/interactive.pm
parent4891f221267cfcfc7d54ac079a93ef474be9d3e7 (diff)
downloaddrakx-be94d4b3cbbb94c07cb0f0e8942751dc3419b2c8.tar
drakx-be94d4b3cbbb94c07cb0f0e8942751dc3419b2c8.tar.gz
drakx-be94d4b3cbbb94c07cb0f0e8942751dc3419b2c8.tar.bz2
drakx-be94d4b3cbbb94c07cb0f0e8942751dc3419b2c8.tar.xz
drakx-be94d4b3cbbb94c07cb0f0e8942751dc3419b2c8.zip
fix ask_okcancel due to stock items changes
Diffstat (limited to 'perl-install/interactive.pm')
-rw-r--r--perl-install/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive.pm b/perl-install/interactive.pm
index 321f8cebe..2cb1afa31 100644
--- a/perl-install/interactive.pm
+++ b/perl-install/interactive.pm
@@ -154,7 +154,7 @@ sub ask_okcancel_ {
$common->{focus_cancel} = !$b_def;
ask_from_no_check($o, $common, []);
} else {
- ask_from_listf_raw($o, $common, sub { translate($_[0]) }, [ $o->ok, $o->cancel ], $b_def ? "Ok" : "Cancel") eq "Ok";
+ ask_from_listf_raw($o, $common, sub { translate($_[0]) }, [ $o->ok, $o->cancel ], $b_def ? $o->ok : "Cancel") eq $o->ok;
}
}