Quick fixes

This commit is contained in:
Diptanshu8 2017-03-16 02:39:25 +05:30
parent 5889d1edcd
commit b723378eb2

View File

@ -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);