summaryrefslogtreecommitdiff
path: root/render
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-03-09 18:55:30 +0000
committerJames Bursa <james@netsurf-browser.org>2006-03-09 18:55:30 +0000
commit4b3d4f97a8955ee72077623662ab4b5e045f6647 (patch)
treeacb2d399e14c11afc81674eac31a8d58ac903202 /render
parent77159f9e9a2a960b31b0bab37f03ea931ccc05b9 (diff)
downloadnetsurf-4b3d4f97a8955ee72077623662ab4b5e045f6647.tar.gz
netsurf-4b3d4f97a8955ee72077623662ab4b5e045f6647.tar.bz2
[project @ 2006-03-09 18:55:30 by bursa]
Partly fix debug build. svn path=/import/netsurf/; revision=2113
Diffstat (limited to 'render')
-rw-r--r--render/textplain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/render/textplain.c b/render/textplain.c
index d7561abd1..653ea943b 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -355,7 +355,7 @@ bool textplain_redraw(struct content *c, int x, int y,
* \return ptr to start of line containing (or nearest to) point
*/
-unsigned textplain_offset_from_coords(struct content *c, int x, int y, int dir)
+size_t textplain_offset_from_coords(struct content *c, int x, int y, int dir)
{
float line_height = css_len2px(&textplain_style.font_size.value.length,
&textplain_style) * 1.2;