Permalink
Browse files

Don't trim result files when criterion is absent.

  • Loading branch information...
1 parent 8c424da commit 918264fbfb410198333be312c24110d1b5d4e0b1 @pjcj committed Apr 11, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 makeh
View
4 makeh
@@ -21,8 +21,8 @@ my $Command =
{
$t = index $_, "$criterion code" if !defined $t || $t < 0;
substr $_, $t, 7, ""
- if /^line err stmt/ .. /^--------/ and length > $t;
- print
+ if /^line err stmt/ .. /^--------/ and $t > -1 and length > $t;
+ print;
}
},
};

0 comments on commit 918264f

Please sign in to comment.