diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-03-04 08:45:52 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-03-04 08:45:52 +0100 |
commit | 04d800589cc2bbb2e6a61969547179a8b20c837e (patch) | |
tree | 794b087c1f1fb893b5b5d38b84cddb0a9141b08f /lib | |
parent | 073b308012994c9c3173474a2180e5fa0b7597e3 (diff) |
Some more App::Dthumb tests
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/App/Dthumb.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Dthumb.pm b/lib/App/Dthumb.pm index 20dd983..b3aa1cf 100755 --- a/lib/App/Dthumb.pm +++ b/lib/App/Dthumb.pm @@ -119,8 +119,8 @@ sub new { $conf{dir_data} //= '.dthumb'; # helpers to directly pass GetOptions results - $conf{lightbox} //= !$conf{'no-lightbox'}; - $conf{names} //= !$conf{'no-names'}; + $conf{lightbox} //= ( $conf{'no-lightbox'} ? 0 : 1 ); + $conf{names} //= ( $conf{'no-names'} ? 0 : 1 ); $ref->{config} = \%conf; |