mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-23 20:35:42 +02:00
decos: verify: all integer options are supposed to be unsigned
This commit is contained in:
parent
23f12a65b2
commit
b6931c6ed0
2 changed files with 2 additions and 2 deletions
|
@ -76,7 +76,7 @@ verify_conf(keychain_t *chain, const struct yml_node *node)
|
||||||
{
|
{
|
||||||
static const struct attr_info attrs[] = {
|
static const struct attr_info attrs[] = {
|
||||||
{"color", true, &conf_verify_color},
|
{"color", true, &conf_verify_color},
|
||||||
{"size", false, &conf_verify_int},
|
{"size", false, &conf_verify_unsigned},
|
||||||
DECORATION_COMMON_ATTRS,
|
DECORATION_COMMON_ATTRS,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -54,7 +54,7 @@ static bool
|
||||||
verify_conf(keychain_t *chain, const struct yml_node *node)
|
verify_conf(keychain_t *chain, const struct yml_node *node)
|
||||||
{
|
{
|
||||||
static const struct attr_info attrs[] = {
|
static const struct attr_info attrs[] = {
|
||||||
{"size", true, &conf_verify_int},
|
{"size", true, &conf_verify_unsigned},
|
||||||
{"color", true, &conf_verify_color},
|
{"color", true, &conf_verify_color},
|
||||||
DECORATION_COMMON_ATTRS,
|
DECORATION_COMMON_ATTRS,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Reference in a new issue