From b5322e10b03ba2fcdc6465fcea27fddcaf8ee2a9 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 14 Mar 2004 22:49:14 +0000 Subject: [project @ 2004-03-14 22:49:14 by bursa] Fix serious inline container layout bug. svn path=/import/netsurf/; revision=620 --- render/layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'render') diff --git a/render/layout.c b/render/layout.c index 7a048e5d4..ddf1e5ce9 100644 --- a/render/layout.c +++ b/render/layout.c @@ -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; } -- cgit v1.2.3