Fix box_visible() to return a bool.

svn path=/trunk/netsurf/; revision=3144
This commit is contained in:
James Bursa 2007-01-14 13:02:09 +00:00
parent b3ae53990a
commit 75526f77b7
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);