Fix spelling mistakes

This commit is contained in:
Eric Engeström 2016-04-04 08:33:59 +01:00 committed by Michael Stapelberg
parent a2632fd308
commit 66d9c983e4
19 changed files with 22 additions and 22 deletions

View File

@ -187,7 +187,7 @@ cleanup ("flatten") the tree. See also +src/move.c+ for another similar
function, which was moved into its own file because it is so long. function, which was moved into its own file because it is so long.
src/util.c:: src/util.c::
Contains useful functions which are not really dependant on anything. Contains useful functions which are not really dependent on anything.
src/window.c:: src/window.c::
Handlers to update X11 window properties like +WM_CLASS+, +_NET_WM_NAME+, Handlers to update X11 window properties like +WM_CLASS+, +_NET_WM_NAME+,

View File

@ -1,7 +1,7 @@
# This list can be used to convert X11 Keysyms to Unicode 2.1 character. # This list can be used to convert X11 Keysyms to Unicode 2.1 character.
# The list is not checked for correctness by Unicode officials. Use it # The list is not checked for correctness by Unicode officials. Use it
# at your own risk and the creator is not responsable for any damage that # at your own risk and the creator is not responsable for any damage that
# occured due to using this list. # occurred due to using this list.
# #
# The list is created by looking at the Keysym names and the Unicode data # The list is created by looking at the Keysym names and the Unicode data
# file. Other mapping tables were used as a reference where needed. # file. Other mapping tables were used as a reference where needed.

View File

@ -80,7 +80,7 @@ void debuglog(char *fmt, ...) {
} }
/* /*
* Restores the X11 input focus to whereever it was before. * Restores the X11 input focus to wherever it was before.
* This is necessary because i3-inputs window has override_redirect=1 * This is necessary because i3-inputs window has override_redirect=1
* ( unmanaged by the window manager) and thus i3-input changes focus itself. * ( unmanaged by the window manager) and thus i3-input changes focus itself.
* This function is called on exit(). * This function is called on exit().

View File

@ -119,7 +119,7 @@ void parse_mode_json(char *json) {
state = yajl_parse(handle, (const unsigned char *)json, strlen(json)); state = yajl_parse(handle, (const unsigned char *)json, strlen(json));
/* FIXME: Propper error handling for JSON parsing */ /* FIXME: Proper error handling for JSON parsing */
switch (state) { switch (state) {
case yajl_status_ok: case yajl_status_ok:
break; break;

View File

@ -271,7 +271,7 @@ void parse_outputs_json(char *json) {
state = yajl_parse(handle, (const unsigned char *)json, strlen(json)); state = yajl_parse(handle, (const unsigned char *)json, strlen(json));
/* FIXME: Propper errorhandling for JSON-parsing */ /* FIXME: Proper errorhandling for JSON-parsing */
switch (state) { switch (state) {
case yajl_status_ok: case yajl_status_ok:
break; break;

View File

@ -233,7 +233,7 @@ void parse_workspaces_json(char *json) {
state = yajl_parse(handle, (const unsigned char *)json, strlen(json)); state = yajl_parse(handle, (const unsigned char *)json, strlen(json));
/* FIXME: Propper error handling for JSON parsing */ /* FIXME: Proper error handling for JSON parsing */
switch (state) { switch (state) {
case yajl_status_ok: case yajl_status_ok:
break; break;

View File

@ -445,7 +445,7 @@ void init_colors(const struct xcb_color_strings_t *new_colors) {
/* /*
* Handle a button press event (i.e. a mouse click on one of our bars). * Handle a button press event (i.e. a mouse click on one of our bars).
* We determine, whether the click occured on a workspace button or if the scroll- * We determine, whether the click occurred on a workspace button or if the scroll-
* wheel was used and change the workspace appropriately * wheel was used and change the workspace appropriately
* *
*/ */

View File

@ -24,7 +24,7 @@ typedef struct i3_shmlog_header {
/* Byte offset where the next line will be written to. */ /* Byte offset where the next line will be written to. */
uint32_t offset_next_write; uint32_t offset_next_write;
/* Byte offset where the last wrap occured. */ /* Byte offset where the last wrap occurred. */
uint32_t offset_last_wrap; uint32_t offset_last_wrap;
/* The size of the logfile in bytes. Since the size is limited to 25 MiB /* The size of the logfile in bytes. Since the size is limited to 25 MiB

View File

@ -46,7 +46,7 @@
} \ } \
} while (0) } while (0)
/** If an error occured during parsing of the criteria, we want to exit instead /** If an error occurred during parsing of the criteria, we want to exit instead
* of relying on fallback behavior. See #2091. */ * of relying on fallback behavior. See #2091. */
#define HANDLE_INVALID_MATCH \ #define HANDLE_INVALID_MATCH \
do { \ do { \

View File

@ -116,7 +116,7 @@ static int backtrace(void) {
waitpid(pid_gdb, &status, 0); 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) { if (!WIFEXITED(status) || WEXITSTATUS(status) != 0) {
DLOG("GDB did not run properly\n"); DLOG("GDB did not run properly\n");
return -1; 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) { static int sig_handle_key_press(void *ignored, xcb_connection_t *conn, xcb_key_press_event_t *event) {
uint16_t state = event->state; 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 * stays turned on (use xev(1) to verify). So, to resolve useful
* keysyms, we remove the numlock flag from the event state */ * keysyms, we remove the numlock flag from the event state */
state &= ~xcb_numlock_mask; state &= ~xcb_numlock_mask;

View File

@ -49,7 +49,7 @@ binmode STDERR, ':utf8';
# subshell or situations like that. # subshell or situations like that.
AnyEvent::Util::close_all_fds_except(0, 1, 2); AnyEvent::Util::close_all_fds_except(0, 1, 2);
# convinience wrapper to write to the log file # convenience wrapper to write to the log file
my $log; my $log;
sub Log { say $log "@_" } sub Log { say $log "@_" }
@ -208,7 +208,7 @@ $single_cv->recv;
$aggregator->stop(); $aggregator->stop();
# print empty lines to seperate failed tests from statuslines # print empty lines to separate failed tests from statuslines
print "\n\n"; print "\n\n";
for (@done) { for (@done) {

View File

@ -46,8 +46,8 @@ sub status_init {
status_completed(0); status_completed(0);
} }
# generates the status text, prints it in the appropiate line # generates the status text, prints it in the appropriate line
# and returns it, so it can be used in conjuction with C<Log()> # and returns it, so it can be used in conjunction with C<Log()>
sub status { sub status {
my ($display, $msg) = @_; my ($display, $msg) = @_;
my $status = "[$display] $msg"; my $status = "[$display] $msg";

View File

@ -33,7 +33,7 @@ my $x = X11::XCB::Connection->new;
my $i3 = i3; my $i3 = i3;
# Switch to the nineth workspace # Switch to the ninth workspace
$i3->command('9')->recv; $i3->command('9')->recv;
##################################################################### #####################################################################

View File

@ -33,7 +33,7 @@ my $x = X11::XCB::Connection->new;
my $i3 = i3; my $i3 = i3;
# Switch to the nineth workspace # Switch to the ninth workspace
$i3->command('9')->recv; $i3->command('9')->recv;
##################################################################### #####################################################################

View File

@ -14,7 +14,7 @@
# • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf # • http://onyxneon.com/books/modern_perl/modern_perl_a4.pdf
# (unless you are already familiar with Perl) # (unless you are already familiar with Perl)
# #
# Check if stacking containers can be used independantly of # Check if stacking containers can be used independently of
# the split mode (horizontal/vertical) of the underlying # the split mode (horizontal/vertical) of the underlying
# container. # container.
# #

View File

@ -65,7 +65,7 @@ ok(-S $socketpath, "file $socketpath exists and is a socket");
exit_gracefully($pid); exit_gracefully($pid);
##################################################################### #####################################################################
# configuration file case: socket gets placed whereever we specify # configuration file case: socket gets placed wherever we specify
##################################################################### #####################################################################
my $tmpdir = tempdir(CLEANUP => 1); my $tmpdir = tempdir(CLEANUP => 1);