about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/ui/mucconfwin.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/mucconfwin.c b/src/ui/mucconfwin.c
index 17c34e76..2a4576a1 100644
--- a/src/ui/mucconfwin.c
+++ b/src/ui/mucconfwin.c
@@ -183,6 +183,8 @@ mucconfwin_field_help(ProfMucConfWin *confwin, char *tag)
 void
 mucconfwin_form_help(ProfMucConfWin *confwin)
 {
+    assert(confwin != NULL);
+
     if (confwin->form->instructions) {
         ProfWin *window = (ProfWin*) confwin;
         win_print(window, '-', 0, NULL, 0, 0, "", "Supplied instructions:");