mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
bug 968: fixed.
This commit is contained in:
parent
3dbf4d3d1d
commit
cd8008225c
@ -1133,8 +1133,9 @@ justify_line(struct html_context *html_context, int y)
|
||||
new_start = word_start + word_shift;
|
||||
|
||||
/* Copy the original word, without any spaces. */
|
||||
copy_chars(html_context, new_start, y, word_len,
|
||||
&line[word_start]);
|
||||
if (word_len)
|
||||
copy_chars(html_context, new_start, y,
|
||||
word_len, &line[word_start]);
|
||||
|
||||
/* Copy the space that preceded the word,
|
||||
* duplicating it as many times as necessary.
|
||||
|
Loading…
x
Reference in New Issue
Block a user