mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 11:16:22 +00:00
Added current window reference to command functions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user