[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:
parent
5ddcc2b440
commit
b5322e10b0
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue