Skip to content

Commit d92fbaa

Browse files
Make sure we land in the $in_hunk code. Addresses #341
1 parent 19d8569 commit d92fbaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diff-so-fancy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ sub do_dsf_stuff {
225225
########################################
226226
# Check for "@@ -3,41 +3,63 @@" syntax #
227227
########################################
228-
} elsif ($change_hunk_indicators && $line =~ /^${ansi_color_regex}(@@@* .+? @@@*)(.*)/) {
228+
} elsif ($line =~ /^${ansi_color_regex}(@@@* .+? @@@*)(.*)/) {
229229
$in_hunk = 1;
230230
my $hunk_header = $4;
231231
my $remain = bleach_text($5);

0 commit comments

Comments
 (0)