mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Revert "justify_line(): Re-add wordlen == 0 test"
This reverts commit 18cdce6c399d5725c0eec609a6a09979b7cead94. 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);
|
||||
if_assert_failed continue;
|
||||
if (!word_len) continue;
|
||||
|
||||
word_shift = (word * diff) / (spaces - 1);
|
||||
new_start = word_start + word_shift;
|
||||
|
Loading…
x
Reference in New Issue
Block a user