Fix typos

This commit is contained in:
Michael Vetter
2023-04-03 17:27:37 +02:00
parent a086cfbc78
commit 6b597f6608
4 changed files with 4 additions and 4 deletions

View File

@@ -810,7 +810,7 @@ cons_show_disco_info(const char* jid, GSList* identities, GSList* features)
cons_show(" Identities");
}
while (identities) {
DiscoIdentity* identity = identities->data; // anme trpe, cat
DiscoIdentity* identity = identities->data; // name type, category
GString* identity_str = g_string_new(" ");
if (identity->name) {
identity_str = g_string_append(identity_str, identity->name);

View File

@@ -196,7 +196,7 @@ mucwin_room_disco_info(ProfMucWin* mucwin, GSList* identities, GSList* features)
win_println(window, THEME_DEFAULT, "!", "Identities:");
}
while (identities) {
DiscoIdentity* identity = identities->data; // anme trpe, cat
DiscoIdentity* identity = identities->data; // name, type, category
GString* identity_str = g_string_new(" ");
if (identity->name) {
identity_str = g_string_append(identity_str, identity->name);

View File

@@ -291,7 +291,7 @@ notify(const char* const message, int timeout, const char* const category)
int res = system(notify_command->str);
if (res == -1) {
log_error("Could not send desktop notificaion.");
log_error("Could not send desktop notification.");
}
g_string_free(notify_command, TRUE);