]> git.sur5r.net Git - i3/i3/blobdiff - src/sighandler.c
Fix spelling mistakes
[i3/i3] / src / sighandler.c
index 80d2fae26544f51ae60c86886aa1d3984e28f2c7..400cd5a59d88d478f87b94e4800f77e7f8ac5096 100644 (file)
@@ -116,7 +116,7 @@ static int backtrace(void) {
 
     waitpid(pid_gdb, &status, 0);
 
-    /* see if the backtrace was succesful or not */
+    /* see if the backtrace was successful or not */
     if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
         DLOG("GDB did not run properly\n");
         return -1;
@@ -176,7 +176,7 @@ static int sig_draw_window(xcb_window_t win, int width, int height, int font_hei
 static int sig_handle_key_press(void *ignored, xcb_connection_t *conn, xcb_key_press_event_t *event) {
     uint16_t state = event->state;
 
-    /* Apparantly, after activating numlock once, the numlock modifier
+    /* Apparently, after activating numlock once, the numlock modifier
      * stays turned on (use xev(1) to verify). So, to resolve useful
      * keysyms, we remove the numlock flag from the event state */
     state &= ~xcb_numlock_mask;