diff options
| -rw-r--r-- | config.c | 10 | ||||
| -rw-r--r-- | doc/foot-ctlseqs.7.scd | 2 | ||||
| -rw-r--r-- | url-mode.c | 2 |
3 files changed, 7 insertions, 7 deletions
@@ -476,7 +476,7 @@ static bool NOINLINE value_to_dimensions(struct context *ctx, uint32_t *x, uint32_t *y) { if (sscanf(ctx->value, "%ux%u", x, y) != 2) { - LOG_CONTEXTUAL_ERR("invalid dimensions (must be on the form AxB)"); + LOG_CONTEXTUAL_ERR("invalid dimensions (must be in the form AxB)"); return false; } @@ -616,7 +616,7 @@ value_to_pt_or_px(struct context *ctx, struct pt_or_px *res) long value = strtol(s, &end, 10); if (!(errno == 0 && end == s + len - 2)) { - LOG_CONTEXTUAL_ERR("invalid px value (must be on the form 12px)"); + LOG_CONTEXTUAL_ERR("invalid px value (must be in the form 12px)"); return false; } res->pt = 0; @@ -834,7 +834,7 @@ parse_section_main(struct context *ctx) if ((ret != 2 && ret != 3) || invalid_mode) { LOG_CONTEXTUAL_ERR( - "invalid padding (must be on the form PAD_XxPAD_Y [center])"); + "invalid padding (must be in the form PAD_XxPAD_Y [center])"); return false; } @@ -1714,13 +1714,13 @@ modifiers_to_str(const struct config_key_modifiers *mods) } /* - * Parses a key binding value on the form + * Parses a key binding value in the form * "[cmd-to-exec arg1 arg2] Mods+Key" * * and extracts 'cmd-to-exec' and its arguments. * * Input: - * - value: raw string, on the form mention above + * - value: raw string, in the form mentioned above * - cmd: pointer to string to will be allocated and filled with * 'cmd-to-exec arg1 arg2' * - argv: point to array of string. Array will be allocated. Will be diff --git a/doc/foot-ctlseqs.7.scd b/doc/foot-ctlseqs.7.scd index 35853f64..8f23ebed 100644 --- a/doc/foot-ctlseqs.7.scd +++ b/doc/foot-ctlseqs.7.scd @@ -605,7 +605,7 @@ All _OSC_ sequences begin with *\\E]*, sometimes abbreviated _OSC_. | \\E] 7 ; _Uri_ \\E\\ : iTerm2 : Update the terminal's current working directory. Newly spawned - terminals will launch in this directory. _Uri_ must be on the format + terminals will launch in this directory. _Uri_ must be in the format *file://<hostname>/<path>*. *hostname* must refer to your local host. | \\E] 8 ; id=_ID_ ; _Uri_ \\E\\ : VTE+iTerm2 @@ -176,7 +176,7 @@ urls_input(struct seat *seat, struct terminal *term, uint32_t key, char32_t wc = xkb_state_key_get_utf32(seat->kbd.xkb_state, key); /* - * Determine if this is a “valid” key. I.e. if there is an URL + * Determine if this is a “valid” key. I.e. if there is a URL * label with a key combo where this key is the next in * sequence. */ |
