mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Added assert to ui_switch_win
This commit is contained in:
parent
0a6b76d6d3
commit
20555fcb36
@ -868,6 +868,7 @@ ui_win_has_unsaved_form(int num)
|
||||
gboolean
|
||||
ui_switch_win(ProfWin *win)
|
||||
{
|
||||
assert(win != NULL);
|
||||
int num = wins_get_num(win);
|
||||
return ui_switch_win_num(num);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user