about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorMichael Vetter <jubalh@iodoru.org>2019-09-29 15:07:32 +0200
committerMichael Vetter <jubalh@iodoru.org>2019-09-29 15:07:32 +0200
commit30875a9069d8b5a74d6eb0e731731ea71a97f105 (patch)
tree0ed8af9568ec6d072de24080aebd232c44c9b269
parenta4e9d9b9e2b7634d6980496f52e4dcef40be8b1d (diff)
downloadprofani-tty-30875a9069d8b5a74d6eb0e731731ea71a97f105.tar.gz
Fix typo conact -> contact
-rw-r--r--src/command/cmd_funcs.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c
index b11f3da5..9f73cb07 100644
--- a/src/command/cmd_funcs.c
+++ b/src/command/cmd_funcs.c
@@ -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);
             }