mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-18 00:45:38 +02:00
modules: verify: use conf_verify_unsigned() for options that should be >= 0
This commit is contained in:
parent
b6931c6ed0
commit
f166bbbf54
7 changed files with 13 additions and 13 deletions
|
@ -374,9 +374,9 @@ static bool
|
|||
verify_conf(keychain_t *chain, const struct yml_node *node)
|
||||
{
|
||||
static const struct attr_info attrs[] = {
|
||||
{"spacing", false, &conf_verify_int},
|
||||
{"left-spacing", false, &conf_verify_int},
|
||||
{"right-spacing", false, &conf_verify_int},
|
||||
{"spacing", false, &conf_verify_unsigned},
|
||||
{"left-spacing", false, &conf_verify_unsigned},
|
||||
{"right-spacing", false, &conf_verify_unsigned},
|
||||
{"identifiers", true, &verify_identifiers},
|
||||
MODULE_COMMON_ATTRS,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue