1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Fix typos in comments

This commit is contained in:
Michael Vetter 2022-02-18 18:59:32 +01:00
parent d15f905d83
commit 57fb10f0bf
2 changed files with 2 additions and 2 deletions

View File

@ -9436,7 +9436,7 @@ cmd_change_password(ProfWin* window, const char* const command, gchar** args)
return TRUE; return TRUE;
} }
// Returns true if an error occured // Returns true if an error occurred
gboolean gboolean
_get_message_from_editor(gchar* message, gchar** returned_message) _get_message_from_editor(gchar* message, gchar** returned_message)
{ {

View File

@ -164,7 +164,7 @@ _message_handler(xmpp_conn_t* const conn, xmpp_stanza_t* const stanza, void* con
} else if (type && g_strcmp0(type, STANZA_TYPE_HEADLINE) == 0) { } else if (type && g_strcmp0(type, STANZA_TYPE_HEADLINE) == 0) {
xmpp_stanza_t* event = xmpp_stanza_get_child_by_ns(stanza, STANZA_NS_PUBSUB_EVENT); xmpp_stanza_t* event = xmpp_stanza_get_child_by_ns(stanza, STANZA_NS_PUBSUB_EVENT);
// TODO: do we want to handle all pubsub here or should additionaly check for STANZA_NS_MOOD? // TODO: do we want to handle all pubsub here or should additionally check for STANZA_NS_MOOD?
if (event) { if (event) {
_handle_pubsub(stanza, event); _handle_pubsub(stanza, event);
return 1; return 1;