summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-11-06 15:55:33 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2015-11-06 15:55:33 +0000
commit5c719d540eeddbb6eca352e242d748c5b289e6b8 (patch)
tree7f28c4dd7a18ac735a48a2e0d724dd36a641c3fc
parent2f27852229d1aaa0bc1db0093e4b4218a97da976 (diff)
downloadnetsurf-5c719d540eeddbb6eca352e242d748c5b289e6b8.tar.gz
netsurf-5c719d540eeddbb6eca352e242d748c5b289e6b8.tar.bz2
Assert that we have a node.
-rw-r--r--render/html_interaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/render/html_interaction.c b/render/html_interaction.c
index 76e0311b1..177eae294 100644
--- a/render/html_interaction.c
+++ b/render/html_interaction.c
@@ -636,6 +636,7 @@ void html_mouse_action(struct content *c, struct browser_window *bw,
/* use of box_x, box_y, or content below this point is probably a
* mistake; they will refer to the last box returned by box_at_point */
+ assert(node != NULL);
if (scrollbar) {
status = scrollbar_mouse_status_to_message(