From 742748b05c263b0bf7266acc8a03b04170f88cf7 Mon Sep 17 00:00:00 2001 From: James Booth Date: Wed, 10 Dec 2014 21:17:31 +0000 Subject: Renamed chat_resource -> resource --- src/ui/titlebar.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ui/titlebar.c') diff --git a/src/ui/titlebar.c b/src/ui/titlebar.c index 5c11c346..8a022916 100644 --- a/src/ui/titlebar.c +++ b/src/ui/titlebar.c @@ -324,21 +324,21 @@ _show_contact_presence(void) int bracket_attrs = theme_attrs(THEME_TITLE_BRACKET); ProfWin *current = wins_get_current(); - if (current && current->wins.chat.chat_resource) { + if (current && current->wins.chat.resource) { wprintw(win, "/"); - wprintw(win, current->wins.chat.chat_resource); + wprintw(win, current->wins.chat.resource); } if (prefs_get_boolean(PREF_PRESENCE)) { theme_item_t presence_colour = THEME_TITLE_OFFLINE; const char *presence = "offline"; - if (current && current->wins.chat.chat_resource) { + if (current && current->wins.chat.resource) { char *barejid = roster_barejid_from_name(current_recipient); if (barejid) { PContact contact = roster_get_contact(barejid); if (contact) { - Resource *resource = p_contact_get_resource(contact, current->wins.chat.chat_resource); + Resource *resource = p_contact_get_resource(contact, current->wins.chat.resource); if (resource) { presence = string_from_resource_presence(resource->presence); } -- cgit 1.4.1-2-gfad0