1
0
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:
James Booth 2015-04-30 21:27:44 +01:00
parent 0a6b76d6d3
commit 20555fcb36

View File

@ -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);
}