From 7ce24b9f75fa54c60737995953b60e96f43f8e8c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sun, 2 Sep 2007 17:36:29 +0200 Subject: [PATCH] Handle files ending in .NEF, not just .nef. --- perl/Sesse/pr0n/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.2