mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added assert check to mucconfwin_form_help
This commit is contained in:
parent
a3e9178ea2
commit
2a65aa0030
@ -183,6 +183,8 @@ mucconfwin_field_help(ProfMucConfWin *confwin, char *tag)
|
|||||||
void
|
void
|
||||||
mucconfwin_form_help(ProfMucConfWin *confwin)
|
mucconfwin_form_help(ProfMucConfWin *confwin)
|
||||||
{
|
{
|
||||||
|
assert(confwin != NULL);
|
||||||
|
|
||||||
if (confwin->form->instructions) {
|
if (confwin->form->instructions) {
|
||||||
ProfWin *window = (ProfWin*) confwin;
|
ProfWin *window = (ProfWin*) confwin;
|
||||||
win_print(window, '-', 0, NULL, 0, 0, "", "Supplied instructions:");
|
win_print(window, '-', 0, NULL, 0, 0, "", "Supplied instructions:");
|
||||||
|
Loading…
Reference in New Issue
Block a user