diff options
author | James Booth <boothj5@gmail.com> | 2012-11-10 18:32:33 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-11-10 18:32:33 +0000 |
commit | b329d09c936c105a0385960b70856c61d99de9b3 (patch) | |
tree | 4691d933e624983460ebf0028a608eae56d7d946 /src | |
parent | aebca570a48a8c20c6f879dd916a870cb7697291 (diff) | |
download | profani-tty-b329d09c936c105a0385960b70856c61d99de9b3.tar.gz |
Renamed parameter in win_join_chat
Diffstat (limited to 'src')
-rw-r--r-- | src/ui.h | 2 | ||||
-rw-r--r-- | 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); |