From b723378eb26f873a62dac721e73807247fa94203 Mon Sep 17 00:00:00 2001 From: Diptanshu8 Date: Thu, 16 Mar 2017 02:39:25 +0530 Subject: [PATCH] Quick fixes --- src/lib_ccx/matroska.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib_ccx/matroska.c b/src/lib_ccx/matroska.c index 4ccaa606..d21e68a5 100644 --- a/src/lib_ccx/matroska.c +++ b/src/lib_ccx/matroska.c @@ -822,9 +822,8 @@ void save_sub_track(struct matroska_ctx* mkv_ctx, struct matroska_sub_track* tra write(desc, timestamp_end, strlen(timestamp_start)); write(desc, ",", 1); char* text = ass_ssa_sentence_erase_read_order(sentence->text); - while((text[0]=='') && (text[1]=='\n' || text[1]=='\N')){ + while((text[0]=='\\') && (text[1]=='n' || text[1]=='N')) text+=2; - } write(desc, text, strlen(text)); write(desc, "\n", 1);