This commit is contained in:
Vincent Wei
2019-04-09 18:46:53 +08:00
parent 7811f86782
commit a36b2fb3b3
+2 -1
View File
@@ -1799,7 +1799,8 @@ static LAYOUTLINE* check_next_line(LAYOUT* layout, LayoutState* state)
old_num_chars = state->lrun->len;
result = process_layout_run(layout, line, state, TRUE, TRUE);
assert(result == BREAK_SOME_FIT || result == BREAK_EMPTY_FIT);
assert(result == BREAK_SOME_FIT || result == BREAK_EMPTY_FIT ||
result == BREAK_ALL_FIT);
state->start_offset += old_num_chars - state->lrun->len;
wrapped = TRUE;