forked from mia/Aegisub
Update libass from MPlayer r29129: Don't automatically wrap lines when WrapStyle==2.
Originally committed to SVN as r2886.
This commit is contained in:
parent
91735eb86d
commit
68b382994b
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue