From 816ac124bf481cb48f0b6cfbb170ab194ac3450c Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 30 Aug 2005 14:25:24 +0000 Subject: if_ is *not* short-circuit --- perl-install/ugtk2.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/ugtk2.pm') diff --git a/perl-install/ugtk2.pm b/perl-install/ugtk2.pm index add6a2ca4..b4c6ecf0c 100644 --- a/perl-install/ugtk2.pm +++ b/perl-install/ugtk2.pm @@ -850,7 +850,7 @@ sub new { 'MagicWindow', title => $title || '', pop_it => $o->{pop_it}, - if_($::isInstall, banner => Gtk2::Banner->new($icon, $title)), + $::isInstall ? (banner => Gtk2::Banner->new($icon, $title)) : (), child => gtknew('VBox'), modal => $grab || $o->{grab} || $o->{modal}, if_(!$::isInstall, icon_no_error => wm_icon()), -- cgit v1.2.1