forked from external/yambar
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
|
@ -878,9 +878,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},
|
||||
{"sort", false, &verify_sort},
|
||||
{"persistent", false, &verify_persistent},
|
||||
{"content", true, &verify_content},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue