mirror of
https://github.com/rkd77/elinks.git
synced 2024-12-04 14:46:47 -05:00
Revert "justify_line(): Re-add wordlen == 0 test"
This reverts commit 18cdce6c39
.
elinks-0.12 has a different fix, and I will soon merge in that branch.
This commit is contained in:
parent
4f658b6ec1
commit
80259bc53e
@ -1128,7 +1128,6 @@ justify_line(struct html_context *html_context, int y)
|
|||||||
|
|
||||||
assert(word_len >= 0);
|
assert(word_len >= 0);
|
||||||
if_assert_failed continue;
|
if_assert_failed continue;
|
||||||
if (!word_len) continue;
|
|
||||||
|
|
||||||
word_shift = (word * diff) / (spaces - 1);
|
word_shift = (word * diff) / (spaces - 1);
|
||||||
new_start = word_start + word_shift;
|
new_start = word_start + word_shift;
|
||||||
|
Loading…
Reference in New Issue
Block a user