projects
/
pr0n
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbc0c1c
)
Improve flash/no flash detection.
author
Steinar H. Gunderson
<sesse@debian.org>
Sun, 30 Jul 2006 14:12:05 +0000
(16:12 +0200)
committer
Steinar H. Gunderson
<sesse@debian.org>
Sun, 30 Jul 2006 14:12:05 +0000
(16:12 +0200)
perl/Sesse/pr0n/Common.pm
patch
|
blob
|
history
diff --git
a/perl/Sesse/pr0n/Common.pm
b/perl/Sesse/pr0n/Common.pm
index d03f46f1f01a01a10b656bb0efeb53aeb1adfb6e..c6f1c5b59fb87b89c375cde62b3967178dbe4ed8 100644
(file)
--- a/
perl/Sesse/pr0n/Common.pm
+++ b/
perl/Sesse/pr0n/Common.pm
@@
-438,9
+438,11
@@
sub make_infobox {
}
if (defined($info->{'Flash'})) {
- if ($info->{'Flash'} =~ /did not fire/ || $info->{'Flash'} =~ /No Flash/) {
+ if ($info->{'Flash'} =~ /did not fire/i ||
+ $info->{'Flash'} =~ /no flash/i ||
+ $info->{'Flash'} =~ /not fired/i) {
push @lines, "No flash";
- } elsif ($info->{'Flash'} =~ /fired/) {
+ } elsif ($info->{'Flash'} =~ /fired/
i
) {
push @lines, "Flash";
} else {
push @lines, $info->{'Flash'};