about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorDariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>2014-08-27 13:26:11 +0200
committerDariusz Dwornikowski <dariusz.dwornikowski@cs.put.poznan.pl>2014-08-27 13:26:11 +0200
commit1dcc028a71238ee859ddb89ce8451a1af345c699 (patch)
treeeee4e7835e80b4ea8b4f247994364bfc81c8fee6 /src
parent24c6c47ff655a9d5b33843df6b77aafe2745cccd (diff)
downloadprofani-tty-1dcc028a71238ee859ddb89ce8451a1af345c699.tar.gz
Small spelling fixes in code and comments
Diffstat (limited to 'src')
-rw-r--r--src/muc.c4
-rw-r--r--src/ui/inputwin.c2
-rw-r--r--src/ui/notifier.c2
-rw-r--r--src/xmpp/connection.c2
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();