diff options
author | James Bursa <james@netsurf-browser.org> | 2007-01-14 13:02:09 +0000 |
---|---|---|
committer | James Bursa <james@netsurf-browser.org> | 2007-01-14 13:02:09 +0000 |
commit | 75526f77b79b04f9595332b1b86e1cde145ffa95 (patch) | |
tree | 30e6ace08b2329a61776bc260286d9acd2b09661 | |
parent | b3ae53990abff0c8254edd9938dda3bbb2294ca5 (diff) | |
download | netsurf-75526f77b79b04f9595332b1b86e1cde145ffa95.tar.gz netsurf-75526f77b79b04f9595332b1b86e1cde145ffa95.tar.bz2 |
Fix box_visible() to return a bool.
svn path=/trunk/netsurf/; revision=3144
-rw-r--r-- | render/box.c | 2 | ||||
-rw-r--r-- | render/box.h | 2 |
2 files changed, 2 insertions, 2 deletions
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); |