1
0
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:
Miciah Dashiel Butler Masters 2007-08-28 13:41:14 +00:00 committed by Miciah Dashiel Butler Masters
parent 4f658b6ec1
commit 80259bc53e

View File

@ -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;