summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--render/box.c2
-rw-r--r--render/box.h2
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);