Skip to content

Commit

Permalink
Only log that we're printing the file separator if we're actually pri…
Browse files Browse the repository at this point in the history
…nting the file separator. Durrrr
  • Loading branch information
ggreer committed Mar 15, 2012
1 parent 38124cc commit 5bd9636
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/print.c
Expand Up @@ -218,8 +218,8 @@ void print_line_number(const int line, const char sep) {
}

void print_file_separator() {
log_debug("printing file separator");
if (first_file_match == 0 && opts.print_break) {
log_debug("printing file separator");
printf("\n");
}
first_file_match = 0;
Expand Down

0 comments on commit 5bd9636

Please sign in to comment.