Skip to content

Commit

Permalink
simplify escaped char write
Browse files Browse the repository at this point in the history
can't be false because we skipped a char
  • Loading branch information
odrling committed Aug 10, 2024
1 parent c826330 commit 6a112f3
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions libdakara_check.c
Original file line number Diff line number Diff line change
Expand Up @@ -299,9 +299,7 @@ void dakara_check_subtitle_events(ASS_Track *track, dakara_check_sub_results *re
// ignore
break;
default:
if (read_head != write_head) {
line[write_head] = line[read_head];
}
line[write_head] = line[read_head];
write_head++;
}
} else {
Expand Down

0 comments on commit 6a112f3

Please sign in to comment.