From 3d60600897f13b47407bf3932ff037f9f1c2783e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 20 Jan 2021 17:57:44 +0100 Subject: [PATCH] =?UTF-8?q?config:=20selection-target:=20space-optimize=20?= =?UTF-8?q?the=20static=20=E2=80=98value=E2=80=99=20array?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",