Yet more flash tweaks.
[pr0n] / 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 ||
-                   $info->{'Flash'} =~ /not fired/i)  {
+                   $info->{'Flash'} =~ /not fired/i ||
+                   $info->{'Flash'} =~ /Off/)  {
                        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'};