From 75526f77b79b04f9595332b1b86e1cde145ffa95 Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 14 Jan 2007 13:02:09 +0000 Subject: Fix box_visible() to return a bool. svn path=/trunk/netsurf/; revision=3144 --- render/box.c | 2 +- render/box.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'render') diff --git a/render/box.c b/render/box.c index 6f5b3f158..234c9599a 100644 --- a/render/box.c +++ b/render/box.c @@ -465,7 +465,7 @@ struct box *box_find_by_id(struct box *box, const char *id) * \return true iff the box is rendered */ -bool *box_visible(struct box *box) +bool box_visible(struct box *box) { struct box *fallback; diff --git a/render/box.h b/render/box.h index bdc2fdbdc..76a3a24e8 100644 --- a/render/box.h +++ b/render/box.h @@ -276,7 +276,7 @@ struct box *box_at_point(struct box *box, int x, int y, struct content **content); struct box *box_object_at_point(struct content *c, int x, int y); struct box *box_find_by_id(struct box *box, const char *id); -bool *box_visible(struct box *box); +bool box_visible(struct box *box); void box_dump(struct box *box, unsigned int depth); bool box_extract_link(const char *rel, const char *base, char **result); -- cgit v1.2.3