]> git.sesse.net Git - pr0n/commitdiff
Handle files ending in .NEF, not just .nef.
authorSteinar H. Gunderson <sesse@debian.org>
Sun, 2 Sep 2007 15:36:29 +0000 (17:36 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Sun, 2 Sep 2007 15:36:29 +0000 (17:36 +0200)
perl/Sesse/pr0n/Common.pm

index 93e6c699b8f3231ab132ae10e6cc326a1efecad2..01d5a925f9d54ec62c8a444dfd3b7eb3209410ee 100644 (file)
@@ -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";