diff options
author | James Booth <boothj5@gmail.com> | 2015-01-28 00:04:37 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-01-28 00:04:37 +0000 |
commit | 9800a46adb3b6c622d242ce8fc5904030cf3c111 (patch) | |
tree | 00809926050de094f1a248007cf468833ba31ff7 /src | |
parent | ba89297382a40ea8f63f73d756dc1ad67a0b1aaa (diff) | |
download | profani-tty-9800a46adb3b6c622d242ce8fc5904030cf3c111.tar.gz |
Fixed compile error when no OTR support
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/core.c b/src/ui/core.c index 14ea2c17..85d5748a 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -1418,8 +1418,8 @@ ui_outgoing_chat_msg(const char * const from, const char * const barejid, // create new window if (window == NULL) { window = wins_new_chat(barejid); - ProfChatWin *chatwin = (ProfChatWin*)window; #ifdef HAVE_LIBOTR + ProfChatWin *chatwin = (ProfChatWin*)window; if (otr_is_secure(barejid)) { chatwin->is_otr = TRUE; } |