]> git.decadent.org.uk Git - dak.git/commitdiff
a newline is ONE char, so allow one char long lines
authorJoerg Jaspert <joerg@debian.org>
Fri, 27 May 2011 17:00:34 +0000 (19:00 +0200)
committerJoerg Jaspert <joerg@debian.org>
Fri, 27 May 2011 17:00:34 +0000 (19:00 +0200)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
tools/debianqueued-0.9/debianqueued

index b0898674aadd8cce63551dfd493bbced0c673f70..2a45d5d88628226df990801451328b7154452de5 100755 (executable)
@@ -720,7 +720,7 @@ outer_loop: while (<CHANGES>) {
       next;
     }
     if ( $pgplines < 1 or $pgplines >= 3 ) {
-      $extralines++ if length;
+      $extralines++ if length $_ > 1;
       next;
     }
     if (/^Maintainer:\s*/i) {