1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-07-21 18:24:14 -04:00

Fix typo conact -> contact

This commit is contained in:
Michael Vetter 2019-09-29 15:07:32 +02:00
parent a4e9d9b9e2
commit 30875a9069

View File

@ -3299,7 +3299,7 @@ cmd_status(ProfWin *window, const char *const command, gchar **args)
}
static void
_cmd_info_show_conact(char *usr)
_cmd_info_show_contact(char *usr)
{
char *usr_jid = roster_barejid_from_name(usr);
if (usr_jid == NULL) {
@ -3347,7 +3347,7 @@ cmd_info(ProfWin *window, const char *const command, gchar **args)
break;
case WIN_CHAT:
if (usr) {
_cmd_info_show_conact(usr);
_cmd_info_show_contact(usr);
} else {
ProfChatWin *chatwin = (ProfChatWin*)window;
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
@ -3361,7 +3361,7 @@ cmd_info(ProfWin *window, const char *const command, gchar **args)
break;
case WIN_PRIVATE:
if (usr) {
_cmd_info_show_conact(usr);
_cmd_info_show_contact(usr);
} else {
ProfPrivateWin *privatewin = (ProfPrivateWin*)window;
assert(privatewin->memcheck == PROFPRIVATEWIN_MEMCHECK);
@ -3377,7 +3377,7 @@ cmd_info(ProfWin *window, const char *const command, gchar **args)
break;
case WIN_CONSOLE:
if (usr) {
_cmd_info_show_conact(usr);
_cmd_info_show_contact(usr);
} else {
cons_bad_cmd_usage(command);
}