X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=config%2Fmenu.c;h=a26cc5d2a9b0217d9c3d52bf0dab21b7337e95d2;hb=ff852f61afad613d8f4f15cddabcc577dda868e0;hp=3ac2c9c6e280300275920d2ea1cadb0c7be66746;hpb=5c9d83b150e2228368b45734e47285957cf15092;p=carl9170fw.git diff --git a/config/menu.c b/config/menu.c index 3ac2c9c..a26cc5d 100644 --- a/config/menu.c +++ b/config/menu.c @@ -258,8 +258,8 @@ static void sym_check_prop(struct symbol *sym) "config symbol '%s' uses select, but is " "not boolean or tristate", sym->name); else if (sym2->type != S_UNKNOWN && - sym2->type != S_BOOLEAN && - sym2->type != S_TRISTATE) + sym2->type != S_BOOLEAN && + sym2->type != S_TRISTATE) prop_warn(prop, "'%s' has wrong type. 'select' only " "accept arguments of boolean and " @@ -268,7 +268,7 @@ static void sym_check_prop(struct symbol *sym) case P_RANGE: if (sym->type != S_INT && sym->type != S_HEX) prop_warn(prop, "range is only allowed " - "for int or hex symbols"); + "for int or hex symbols"); if (!menu_validate_number(sym, prop->expr->left.sym) || !menu_validate_number(sym, prop->expr->right.sym)) prop_warn(prop, "range is invalid");