Fixed ParseAutoBool error.
This commit is contained in:
parent
1ba4bcb753
commit
a399725a1e
|
@ -593,7 +593,7 @@ TidyTriState TY_(_cfgGetAutoBool)( TidyDocImpl* doc, TidyOptionId optId )
|
||||||
ulong val = TY_(_cfgGet)( doc, optId );
|
ulong val = TY_(_cfgGet)( doc, optId );
|
||||||
const TidyOptionImpl* opt = &option_defs[ optId ];
|
const TidyOptionImpl* opt = &option_defs[ optId ];
|
||||||
assert( opt && opt->type == TidyInteger
|
assert( opt && opt->type == TidyInteger
|
||||||
&& opt->parser == ParseAutoBool );
|
&& opt->parser == ParsePickList );
|
||||||
return (TidyTriState) val;
|
return (TidyTriState) val;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue