diff options
Diffstat (limited to 'libass')
-rw-r--r-- | libass/ass_mp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libass/ass_mp.c b/libass/ass_mp.c index 8fbffb4629..9c4d0408c3 100644 --- a/libass/ass_mp.c +++ b/libass/ass_mp.c @@ -166,9 +166,9 @@ int ass_process_subtitle(ass_track_t* track, subtitle* sub) p += snprintf(p, end - p, "{\\an%d}", sub->alignment); for (j = 0; j < sub->lines; ++j) - p += snprintf(p, end - p, "%s ", sub->text[j]); + p += snprintf(p, end - p, "%s\\N", sub->text[j]); - p--; // remove last ' ' + p-=2; // remove last ' ' *p = 0; if (check_duplicate_plaintext_event(track)) { |