From 1dcc028a71238ee859ddb89ce8451a1af345c699 Mon Sep 17 00:00:00 2001 From: Dariusz Dwornikowski Date: Wed, 27 Aug 2014 13:26:11 +0200 Subject: [PATCH] Small spelling fixes in code and comments --- src/muc.c | 4 ++-- src/ui/inputwin.c | 2 +- src/ui/notifier.c | 2 +- src/xmpp/connection.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/muc.c b/src/muc.c index 6b0d16b1..053eb38b 100644 --- a/src/muc.c +++ b/src/muc.c @@ -514,7 +514,7 @@ muc_get_roster_ac(const char * const room) } /* - * Set to TRUE when the rooms roster has been fully recieved + * Set to TRUE when the rooms roster has been fully received */ void muc_set_roster_received(const char * const room) @@ -527,7 +527,7 @@ muc_set_roster_received(const char * const room) } /* - * Returns TRUE id the rooms roster has been fully recieved + * Returns TRUE id the rooms roster has been fully received */ gboolean muc_get_roster_received(const char * const room) diff --git a/src/ui/inputwin.c b/src/ui/inputwin.c index 8ae3abff..8bebfce8 100644 --- a/src/ui/inputwin.c +++ b/src/ui/inputwin.c @@ -272,7 +272,7 @@ _clear_input(void) /* * Deal with command editing, return 1 if ch was an edit * key press: up, down, left, right or backspace - * return 0 if it wasnt + * return 0 if it wasn't */ static int _handle_edit(int result, const wint_t ch, char *input, int *size) diff --git a/src/ui/notifier.c b/src/ui/notifier.c index aef4d975..6673edb0 100644 --- a/src/ui/notifier.c +++ b/src/ui/notifier.c @@ -121,7 +121,7 @@ _notify_subscription(const char * const from) { GString *message = g_string_new("Subscription request: \n"); g_string_append(message, from); - _notify(message->str, 10000, "Incomming message"); + _notify(message->str, 10000, "Incoming message"); g_string_free(message, TRUE); } diff --git a/src/xmpp/connection.c b/src/xmpp/connection.c index 8d43ca88..6838fb6f 100644 --- a/src/xmpp/connection.c +++ b/src/xmpp/connection.c @@ -478,7 +478,7 @@ _connection_handler(xmpp_conn_t * const conn, } else if (status == XMPP_CONN_DISCONNECT) { log_debug("Connection handler: XMPP_CONN_DISCONNECT"); - // lost connection for unkown reason + // lost connection for unknown reason if (jabber_conn.conn_status == JABBER_CONNECTED) { log_debug("Connection handler: Lost connection for unknown reason"); handle_lost_connection();