From b329d09c936c105a0385960b70856c61d99de9b3 Mon Sep 17 00:00:00 2001 From: James Booth Date: Sat, 10 Nov 2012 18:32:33 +0000 Subject: [PATCH] Renamed parameter in win_join_chat --- src/ui.h | 2 +- src/windows.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ui.h b/src/ui.h index 26598be8..d22afc75 100644 --- a/src/ui.h +++ b/src/ui.h @@ -106,7 +106,7 @@ void win_remind(void); void win_activity(void); void win_no_activity(void); -void win_join_chat(const char * const room_jid, const char * const nick); +void win_join_chat(const char * const room, const char * const nick); void win_show_room_roster(const char * const room); int win_in_groupchat(void); void win_show_room_history(const char * const room_jid, const char * const nick, diff --git a/src/windows.c b/src/windows.c index 4c705977..abf8f2fa 100644 --- a/src/windows.c +++ b/src/windows.c @@ -542,13 +542,13 @@ win_show_outgoing_msg(const char * const from, const char * const to, } void -win_join_chat(const char * const room_jid, const char * const nick) +win_join_chat(const char * const room, const char * const nick) { - int win_index = _find_prof_win_index(room_jid); + int win_index = _find_prof_win_index(room); // create new window if (win_index == NUM_WINS) { - win_index = _new_prof_win(room_jid); + win_index = _new_prof_win(room); } _win_switch_if_active(win_index);