diff options
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 24 |
1 files changed, 3 insertions, 21 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 846ba5d1..f0e7bfda 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -536,28 +536,10 @@ ui_close_current(void) dirty = TRUE; } -int -win_current_is_console(void) +win_type_t +ui_current_win_type(void) { - return (current->type == WIN_CONSOLE); -} - -int -win_current_is_chat(void) -{ - return (current->type == WIN_CHAT); -} - -int -win_current_is_groupchat(void) -{ - return (current->type == WIN_MUC); -} - -int -win_current_is_private(void) -{ - return (current->type == WIN_PRIVATE); + return current->type; } char * |