Update libass from MPlayer r29129: Don't automatically wrap lines when WrapStyle==2.

Originally committed to SVN as r2886.
This commit is contained in:
Amar Takhar 2009-04-29 21:06:54 +00:00
parent 91735eb86d
commit 68b382994b
1 changed files with 1 additions and 1 deletions

View File

@ -1603,7 +1603,7 @@ static void wrap_lines_smart(int max_text_width)
mp_msg(MSGT_ASS, MSGL_DBG2, "forced line break at %d\n", break_at);
}
if (len >= max_text_width) {
if ((len >= max_text_width) && (frame_context.track->WrapStyle != 2)) {
break_type = 1;
break_at = last_space;
if (break_at == -1)