1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Renamed parameter in win_join_chat

This commit is contained in:
James Booth 2012-11-10 18:32:33 +00:00
parent aebca570a4
commit b329d09c93
2 changed files with 4 additions and 4 deletions

View File

@ -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,

View File

@ -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);