mirror of
https://github.com/profanity-im/profanity.git
synced 2024-10-27 20:30:13 -04:00
Fix typo conact -> contact
This commit is contained in:
parent
a4e9d9b9e2
commit
30875a9069
@ -3299,7 +3299,7 @@ cmd_status(ProfWin *window, const char *const command, gchar **args)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
_cmd_info_show_conact(char *usr)
|
_cmd_info_show_contact(char *usr)
|
||||||
{
|
{
|
||||||
char *usr_jid = roster_barejid_from_name(usr);
|
char *usr_jid = roster_barejid_from_name(usr);
|
||||||
if (usr_jid == NULL) {
|
if (usr_jid == NULL) {
|
||||||
@ -3347,7 +3347,7 @@ cmd_info(ProfWin *window, const char *const command, gchar **args)
|
|||||||
break;
|
break;
|
||||||
case WIN_CHAT:
|
case WIN_CHAT:
|
||||||
if (usr) {
|
if (usr) {
|
||||||
_cmd_info_show_conact(usr);
|
_cmd_info_show_contact(usr);
|
||||||
} else {
|
} else {
|
||||||
ProfChatWin *chatwin = (ProfChatWin*)window;
|
ProfChatWin *chatwin = (ProfChatWin*)window;
|
||||||
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
|
assert(chatwin->memcheck == PROFCHATWIN_MEMCHECK);
|
||||||
@ -3361,7 +3361,7 @@ cmd_info(ProfWin *window, const char *const command, gchar **args)
|
|||||||
break;
|
break;
|
||||||
case WIN_PRIVATE:
|
case WIN_PRIVATE:
|
||||||
if (usr) {
|
if (usr) {
|
||||||
_cmd_info_show_conact(usr);
|
_cmd_info_show_contact(usr);
|
||||||
} else {
|
} else {
|
||||||
ProfPrivateWin *privatewin = (ProfPrivateWin*)window;
|
ProfPrivateWin *privatewin = (ProfPrivateWin*)window;
|
||||||
assert(privatewin->memcheck == PROFPRIVATEWIN_MEMCHECK);
|
assert(privatewin->memcheck == PROFPRIVATEWIN_MEMCHECK);
|
||||||
@ -3377,7 +3377,7 @@ cmd_info(ProfWin *window, const char *const command, gchar **args)
|
|||||||
break;
|
break;
|
||||||
case WIN_CONSOLE:
|
case WIN_CONSOLE:
|
||||||
if (usr) {
|
if (usr) {
|
||||||
_cmd_info_show_conact(usr);
|
_cmd_info_show_contact(usr);
|
||||||
} else {
|
} else {
|
||||||
cons_bad_cmd_usage(command);
|
cons_bad_cmd_usage(command);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user