From a1f051bc9c24756e56651c89f2556edd677db014 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Sat, 28 Jun 2008 11:48:04 -0300 Subject: Fix subject identification From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- v4l/scripts/hghead.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/v4l/scripts/hghead.pl b/v4l/scripts/hghead.pl index 02295bcef..14c3d906f 100755 --- a/v4l/scripts/hghead.pl +++ b/v4l/scripts/hghead.pl @@ -91,7 +91,8 @@ while ($line = ) { } if ($tag =~ m/^subject:/) { - $subject="$arg\n"; + $subject = "$arg\n"; + $sub_ok = 1; next; } @@ -136,6 +137,7 @@ while ($line = ) { if ($line =~ m|^(V4L\/DVB\s*\(.+\)\s*:.*\n)|) { $subject=$1; + $sub_ok = 1; $line="\n"; } @@ -147,7 +149,6 @@ while ($line = ) { next; } $sub_ok=1; - substr( $subject, 0, 1 ) = uc (substr ($subject, 0, 1)); if ($subject =~ m|V4L\/DVB\s*(.+)|) { $subject=$1; } -- cgit v1.2.3