From 2a65aa00301c3221cad02a4df0eb48d61509dccd Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 2 Nov 2015 22:06:12 +0000 Subject: [PATCH] Added assert check to mucconfwin_form_help --- src/ui/mucconfwin.c | 2 ++ 1 file changed, 2 insertions(+) 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:");