From 80259bc53e3603b86e3e4fbcf5b5e54bb891abbc Mon Sep 17 00:00:00 2001 From: Miciah Dashiel Butler Masters Date: Tue, 28 Aug 2007 13:41:14 +0000 Subject: [PATCH] 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. --- src/document/html/renderer.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/document/html/renderer.c b/src/document/html/renderer.c index 13be18a81..358a948ab 100644 --- a/src/document/html/renderer.c +++ b/src/document/html/renderer.c @@ -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;