mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
config: selection-target: space-optimize the static ‘value’ array
This commit is contained in:
parent
b8685e17ea
commit
3d60600897
1 changed files with 1 additions and 1 deletions
2
config.c
2
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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue