diff options
author | James Bursa <james@netsurf-browser.org> | 2003-09-11 23:22:33 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2003-09-11 23:22:33 +0000 |
commit | 4866b512b8f74f4e304732aadfdb49dc82143b31 (patch) | |
tree | 8e306a1cc59bf41f14719d78fc81f4330b39626e /render/layout.c | |
parent | 7e2255ce969d4fcd55778acca2d5e71566d6f19c (diff) | |
download | netsurf-4866b512b8f74f4e304732aadfdb49dc82143b31.tar.gz netsurf-4866b512b8f74f4e304732aadfdb49dc82143b31.tar.bz2 |
[project @ 2003-09-11 23:22:33 by bursa]
Min width calculation bug fix.
svn path=/import/netsurf/; revision=286
Diffstat (limited to 'render/layout.c')
-rw-r--r-- | render/layout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/render/layout.c b/render/layout.c index b3b625e7f..e6974c047 100644 --- a/render/layout.c +++ b/render/layout.c @@ -880,7 +880,7 @@ void calculate_inline_container_widths(struct box *box) word = space + 1, space = strchr(word, ' ')) { width = font_width(child->font, word, - (unsigned int) (space - word)); + (unsigned int) (space - word - 1)); if (min < width) min = width; } width = font_width(child->font, word, strlen(word)); |