[project @ 2004-03-14 22:49:14 by bursa]

Fix serious inline container layout bug.

svn path=/import/netsurf/; revision=620
This commit is contained in:
James Bursa 2004-03-14 22:49:14 +00:00
parent 5ddcc2b440
commit b5322e10b0
1 changed files with 1 additions and 1 deletions

View File

@ -708,7 +708,7 @@ struct box * layout_line(struct box *first, int width, int *y,
for (i = 0; i != split_box->length &&
split_box->text[i] != ' '; i++)
;
if (split_box->text[i] == ' ')
if (i != split_box->length)
space = i;
}