summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-08-18 22:11:10 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-08-18 22:11:10 +0000
commit0f2f592cbfe90654e983cadd04a218a27e2b5f62 (patch)
tree55bdd3752ca842ccdee64bf794f700150f109d57
parent41242f22137bf15057dbaf615cf299e9d347983a (diff)
downloaddrakx-backup-do-not-use-0f2f592cbfe90654e983cadd04a218a27e2b5f62.tar
drakx-backup-do-not-use-0f2f592cbfe90654e983cadd04a218a27e2b5f62.tar.gz
drakx-backup-do-not-use-0f2f592cbfe90654e983cadd04a218a27e2b5f62.tar.bz2
drakx-backup-do-not-use-0f2f592cbfe90654e983cadd04a218a27e2b5f62.tar.xz
drakx-backup-do-not-use-0f2f592cbfe90654e983cadd04a218a27e2b5f62.zip
fix bug in box's height use
-rw-r--r--perl-install/interactive_gtk.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/interactive_gtk.pm b/perl-install/interactive_gtk.pm
index be534eaac..f7e5020d9 100644
--- a/perl-install/interactive_gtk.pm
+++ b/perl-install/interactive_gtk.pm
@@ -493,7 +493,7 @@ sub ask_fromW {
my $width = max(250, $max_width * 5);
$mainw->{box_width} = min($::windowheight * 0.7, $width);
- my $height = max(200, my_gtk::n_line_size($mainw->{box_size}, 'various', $mainw->{rwindow}));
+ my $height = max(200, my_gtk::n_line_size($always_total_size, 'various', $mainw->{rwindow}));
$mainw->{box_height} = min($::windowheight * 0.7, $height);
my $has = $width > $mainw->{box_width} || $height > $mainw->{box_height};