aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-01-20 16:57:44 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-01-23 09:44:19 +0000
commit3d60600897f13b47407bf3932ff037f9f1c2783e (patch)
tree195d14f2993b7d09231d614e60c22b3501d32dd7
parentdoc: foot.ini: selection-target=none|primary|clipboard|both (diff)
config: selection-target: space-optimize the static ‘value’ array
-rw-r--r--config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.c b/config.c
index fa2646fa..81b329cf 100644
--- a/config.c
+++ b/config.c
@@ -674,7 +674,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",