1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-06 23:36:34 +01:00

change tab names: prompt = home, friends = contacts

This commit is contained in:
Jfreegman
2014-07-13 15:34:09 -04:00
parent ee67cf0bf1
commit 190e1e73e8
5 changed files with 12 additions and 11 deletions

View File

@@ -57,13 +57,13 @@ void cmd_groupinvite(WINDOW *window, ToxWindow *self, Tox *m, int argc, char (*a
}
if (tox_invite_friend(m, self->num, groupnum) == -1) {
errmsg = "Failed to invite friend.";
errmsg = "Failed to invite contact to group.";
line_info_add(self, NULL, NULL, NULL, errmsg, SYS_MSG, 0, 0);
return;
}
char msg[MAX_STR_SIZE];
snprintf(msg, sizeof(msg), "Invited friend to Room #%d.", groupnum);
snprintf(msg, sizeof(msg), "Invited contact to Group %d.", groupnum);
line_info_add(self, NULL, NULL, NULL, msg, SYS_MSG, 0, 0);
}