From: Steinar H. Gunderson Date: Sun, 2 Sep 2007 15:36:29 +0000 (+0200) Subject: Handle files ending in .NEF, not just .nef. X-Git-Url: https://git.sesse.net/?p=pr0n;a=commitdiff_plain;h=7ce24b9f75fa54c60737995953b60e96f43f8e8c Handle files ending in .NEF, not just .nef. --- diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index 93e6c69..01d5a92 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -392,7 +392,7 @@ sub ensure_cached { # ImageMagick can handle NEF files, but it does it by calling dcraw as a delegate. # The delegate support is rather broken and causes very odd stuff to happen when # more than one thread does this at the same time. Thus, we simply do it ourselves. - if ($filename =~ /\.nef$/) { + if ($filename =~ /\.nef$/i) { # this would suffice if ImageMagick gets to fix their handling # $fname = "NEF:$fname";