Skip to content

Commit 5fc8acc

Browse files
committed
pod fix
1 parent 8a2ca36 commit 5fc8acc

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Prima/Dialog/FontDialog.pm

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -454,9 +454,10 @@ Prima::Dialog::FontDialog - standard font dialog
454454
455455
use Prima qw(Application Dialog::FontDialog);
456456
my $f = Prima::Dialog::FontDialog-> new;
457-
return unless $f-> execute == mb::OK;
458-
$f = $f-> logFont;
459-
print "$_:$f->{$_}\n" for sort keys %$f;
457+
if ( $f-> execute == mb::OK ) {
458+
$f = $f-> logFont;
459+
print "$_:$f->{$_}\n" for sort keys %$f;
460+
}
460461
461462
=for podview <img src="fontdlg.gif">
462463

0 commit comments

Comments
 (0)