1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Added assert check to mucconfwin_form_help

This commit is contained in:
James Booth 2015-11-02 22:06:12 +00:00
parent a3e9178ea2
commit 2a65aa0030

View File

@ -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:");