summaryrefslogtreecommitdiff
path: root/render/textplain.c
diff options
context:
space:
mode:
Diffstat (limited to 'render/textplain.c')
-rw-r--r--render/textplain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/render/textplain.c b/render/textplain.c
index 920368634..716ee24da 100644
--- a/render/textplain.c
+++ b/render/textplain.c
@@ -474,9 +474,9 @@ void textplain_mouse_action(struct content *c, struct browser_window *bw,
}
}
- assert(status);
+ if (status != NULL)
+ browser_window_set_status(bw, status);
- browser_window_set_status(bw, status);
browser_window_set_pointer(bw->window, pointer);
}