diff options
author | James Booth <boothj5@gmail.com> | 2015-11-02 22:06:12 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-02 22:06:12 +0000 |
commit | 2a65aa00301c3221cad02a4df0eb48d61509dccd (patch) | |
tree | 2b9e46e8624a04c39f0749874c68ce286649d106 /src/ui | |
parent | a3e9178ea2ff8d45376b729ccee3f2c45c572485 (diff) | |
download | profani-tty-2a65aa00301c3221cad02a4df0eb48d61509dccd.tar.gz |
Added assert check to mucconfwin_form_help
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/mucconfwin.c | 2 |
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:"); |