projects
/
pr0n
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1a0b46d
)
qscale integration broke multi-image thumbnailing; restoring it.
author
Steinar H. Gunderson
<sesse@debian.org>
Mon, 13 Jul 2009 15:42:19 +0000
(17:42 +0200)
committer
Steinar H. Gunderson
<sesse@debian.org>
Mon, 13 Jul 2009 15:42:19 +0000
(17:42 +0200)
perl/Sesse/pr0n/Common.pm
patch
|
blob
|
history
diff --git
a/perl/Sesse/pr0n/Common.pm
b/perl/Sesse/pr0n/Common.pm
index 9df3accf39d63af2e149211793d8f7d33f644101..34ee8d9c7abcd2f58dced0d6001553c209e358f6 100644
(file)
--- a/
perl/Sesse/pr0n/Common.pm
+++ b/
perl/Sesse/pr0n/Common.pm
@@
-682,7
+682,7
@@
sub read_original_image {
# If we use ->[0] unconditionally, text rendering (!) seems to crash
my $img;
- if (ref($magick)) {
+ if (ref($magick)
!~ /Image::Magick/
) {
$img = $magick;
} else {
$img = (scalar @$magick > 1) ? $magick->[0] : $magick;