From 07dfb8450bfaf90d86b220b671997d322d325a85 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Wed, 10 Oct 2018 18:31:03 +0300 Subject: [PATCH] Fix typo: childs -> children --- i3-nagbar/main.c | 8 ++++---- include/startup.h | 2 +- src/randr.c | 2 +- src/startup.c | 8 ++++---- src/x.c | 2 +- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/i3-nagbar/main.c b/i3-nagbar/main.c index fd7acd6e..4ce74939 100644 --- a/i3-nagbar/main.c +++ b/i3-nagbar/main.c @@ -103,10 +103,10 @@ void debuglog(char *fmt, ...) { } /* - * Starts the given application by passing it through a shell. We use double fork - * to avoid zombie processes. As the started application’s parent exits (immediately), - * the application is reparented to init (process-id 1), which correctly handles - * childs, so we don’t have to do it :-). + * Starts the given application by passing it through a shell. We use double + * fork to avoid zombie processes. As the started application’s parent exits + * (immediately), the application is reparented to init (process-id 1), which + * correctly handles children, so we don’t have to do it :-). * * The shell is determined by looking for the SHELL environment variable. If it * does not exist, /bin/sh is used. diff --git a/include/startup.h b/include/startup.h index 5da221e1..feece575 100644 --- a/include/startup.h +++ b/include/startup.h @@ -21,7 +21,7 @@ * Starts the given application by passing it through a shell. We use double * fork to avoid zombie processes. As the started application’s parent exits * (immediately), the application is reparented to init (process-id 1), which - * correctly handles childs, so we don’t have to do it :-). + * correctly handles children, so we don’t have to do it :-). * * The shell used to start applications is the system's bourne shell (i.e., * /bin/sh). diff --git a/src/randr.c b/src/randr.c index 54d61ddd..6bb8d9e6 100644 --- a/src/randr.c +++ b/src/randr.c @@ -550,7 +550,7 @@ static void output_change_mode(xcb_connection_t *conn, Output *output) { } /* If default_orientation is NO_ORIENTATION, we change the orientation of - * the workspaces and their childs depending on output resolution. This is + * the workspaces and their children depending on output resolution. This is * only done for workspaces with maximum one child. */ if (config.default_orientation == NO_ORIENTATION) { TAILQ_FOREACH(workspace, &(content->nodes_head), nodes) { diff --git a/src/startup.c b/src/startup.c index f4ba85d8..6302d811 100644 --- a/src/startup.c +++ b/src/startup.c @@ -118,10 +118,10 @@ void startup_sequence_delete(struct Startup_Sequence *sequence) { } /* - * Starts the given application by passing it through a shell. We use double fork - * to avoid zombie processes. As the started application’s parent exits (immediately), - * the application is reparented to init (process-id 1), which correctly handles - * childs, so we don’t have to do it :-). + * Starts the given application by passing it through a shell. We use double + * fork to avoid zombie processes. As the started application’s parent exits + * (immediately), the application is reparented to init (process-id 1), which + * correctly handles children, so we don’t have to do it :-). * * The shell used to start applications is the system's bourne shell (i.e., * /bin/sh). diff --git a/src/x.c b/src/x.c index c68b9ccd..6a0170a5 100644 --- a/src/x.c +++ b/src/x.c @@ -509,7 +509,7 @@ void x_draw_decoration(Con *con) { /* These rectangles represent the border around the child window * (left, bottom and right part). We don’t just fill the whole - * rectangle because some childs are not freely resizable and we want + * rectangle because some children are not freely resizable and we want * their background color to "shine through". */ if (!(borders_to_hide & ADJ_LEFT_SCREEN_EDGE)) { draw_util_rectangle(&(con->frame_buffer), p->color->child_border, 0, 0, br.x, r->height); -- 2.39.2