diff options
author | James Booth <boothj5@gmail.com> | 2015-06-15 23:16:22 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-15 23:16:22 +0100 |
commit | fb0e0659023e6483418de2a06626d640644e94d9 (patch) | |
tree | 38e9ba8a3cb8b63a8267de6780183fda6d93cbee /src/ui/core.c | |
parent | 6097a5bade7fdcd333b8127c36d31024ae29284b (diff) | |
download | profani-tty-fb0e0659023e6483418de2a06626d640644e94d9.tar.gz |
Tidied cmd_otr, added check-unit target to Makefile
Diffstat (limited to 'src/ui/core.c')
-rw-r--r-- | src/ui/core.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 6cfa8594..f517d51d 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1151,19 +1151,6 @@ ui_current_win_type(void) return current->type; } -gboolean -ui_current_win_is_otr(void) -{ - ProfWin *current = wins_get_current(); - if (current->type == WIN_CHAT) { - ProfChatWin *chatwin = (ProfChatWin*)current; - assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK); - return chatwin->enc_mode == PROF_ENC_OTR; - } else { - return FALSE; - } -} - win_type_t ui_win_type(int index) { |