diff --git a/config.c b/config.c index dff0f549..f3eda6d6 100644 --- a/config.c +++ b/config.c @@ -2868,7 +2868,7 @@ parse_config_file(FILE *f, struct config *conf, const char *path, bool errors_ar errno = 0; } - /* Set `alpha_non_whitespace` to atleast `alpha`. */ + /* Set `alpha_non_whitespace` to at least `alpha`. */ conf->colors.alpha_non_whitespace = max(conf->colors.alpha_non_whitespace, conf->colors.alpha); if (errno != 0) { @@ -3111,7 +3111,7 @@ config_load(struct config *conf, const char *conf_path, .alpha = 0xffff, /* HACK: * when `alpha_non_whitespace` is not set its - * default value will be `alpha`. This is achived via + * default value will be `alpha`. This is achieved via * restricting it to be at least the value of `alpha` */ .alpha_non_whitespace = 0x0000, diff --git a/config.h b/config.h index 12333e58..27ccd204 100644 --- a/config.h +++ b/config.h @@ -84,7 +84,7 @@ enum key_binding_type { typedef tll(char *) config_modifier_list_t; struct config_key_binding { - int action; /* One of the varios bind_action_* enums from wayland.h */ + int action; /* One of the various bind_action_* enums from wayland.h */ //struct config_key_modifiers modifiers; config_modifier_list_t modifiers; union { diff --git a/ime.c b/ime.c index f3a3ec18..54cfa908 100644 --- a/ime.c +++ b/ime.c @@ -175,7 +175,7 @@ done(void *data, struct zwp_text_input_v3 *zwp_text_input_v3, } /* - * 2. Delete requested surroundin text + * 2. Delete requested surrounding text * * We don't support deleting surrounding text. But, we also never * call set_surrounding_text() so hopefully we should never