diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2021-01-20 16:57:44 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-02-12 09:56:38 +0000 |
| commit | 036a77194b96691156b23a93cc5a5f618a36f584 (patch) | |
| tree | 693f43235dcf979283d046898d89171e407f5449 | |
| parent | doc: foot.ini: selection-target=none|primary|clipboard|both (diff) | |
config: selection-target: space-optimize the static ‘value’ array
| -rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -603,7 +603,7 @@ parse_section_main(const char *key, const char *value, struct config *conf, } else if (strcmp(key, "selection-target") == 0) { - static const char *const values[] = { + static const char values[][12] = { [SELECTION_TARGET_NONE] = "none", [SELECTION_TARGET_PRIMARY] = "primary", [SELECTION_TARGET_CLIPBOARD] = "clipboard", |
