From 6a112f3b4a5cd6032d4cfa4957ee5ac361a949f0 Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 10 Aug 2024 16:30:53 +0200 Subject: [PATCH] simplify escaped char write can't be false because we skipped a char --- libdakara_check.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/libdakara_check.c b/libdakara_check.c index 4ffa0f8..e2ae6bd 100644 --- a/libdakara_check.c +++ b/libdakara_check.c @@ -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 {