Yet more flash tweaks.
authorSteinar H. Gunderson <sesse@debian.org>
Mon, 31 Jul 2006 12:24:25 +0000 (14:24 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Mon, 31 Jul 2006 12:24:25 +0000 (14:24 +0200)
perl/Sesse/pr0n/Common.pm

index d5e672746a3b8708777cf51e469fa3c037ee31e4..8fe17d738f7b9300dda864abe45e6de6bd17a0ea 100644 (file)
@@ -439,9 +439,11 @@ sub make_infobox {
        if (defined($info->{'Flash'})) {
                if ($info->{'Flash'} =~ /did not fire/i ||
                    $info->{'Flash'} =~ /no flash/i ||
        if (defined($info->{'Flash'})) {
                if ($info->{'Flash'} =~ /did not fire/i ||
                    $info->{'Flash'} =~ /no flash/i ||
-                   $info->{'Flash'} =~ /not fired/i)  {
+                   $info->{'Flash'} =~ /not fired/i ||
+                   $info->{'Flash'} =~ /Off/)  {
                        push @lines, "No flash";
                        push @lines, "No flash";
-               } elsif ($info->{'Flash'} =~ /fired/i) {
+               } elsif ($info->{'Flash'} =~ /fired/i ||
+                        $info->{'Flash'} =~ /On/) {
                        push @lines, "Flash";
                } else {
                        push @lines, $info->{'Flash'};
                        push @lines, "Flash";
                } else {
                        push @lines, $info->{'Flash'};