Added current window reference to command functions

This commit is contained in:
James Booth
2015-06-17 00:15:28 +01:00
parent cfef64c767
commit 2215a3791f
24 changed files with 582 additions and 578 deletions

View File

@@ -1560,7 +1560,8 @@ cons_show_contacts(GSList *list)
void
cons_alert(void)
{
if (ui_current_win_type() != WIN_CONSOLE) {
ProfWin *current = wins_get_current();
if (current->type != WIN_CONSOLE) {
status_bar_new(1);
}
}