Code spacing consistency.

This commit is contained in:
Jim Derry 2017-10-08 11:44:45 -04:00
parent f72c3d27e1
commit e6f007d8ba

View file

@ -336,6 +336,7 @@ const TidyOptionImpl* TY_(lookupOption)( ctmbstr s )
return NULL;
}
const TidyOptionImpl* TY_(getOption)( TidyOptionId optId )
{
if ( optId < N_TIDY_OPTIONS )
@ -350,6 +351,7 @@ static void FreeOptionValue( TidyDocImpl* doc, const TidyOptionImpl* option, Tid
TidyDocFree( doc, value->p );
}
static void CopyOptionValue( TidyDocImpl* doc, const TidyOptionImpl* option,
TidyOptionValue* oldval, const TidyOptionValue* newval )
{
@ -408,6 +410,7 @@ Bool TY_(SetOptionBool)( TidyDocImpl* doc, TidyOptionId optId, Bool val )
return status;
}
static void GetOptionDefault( const TidyOptionImpl* option,
TidyOptionValue* dflt )
{
@ -417,6 +420,7 @@ static void GetOptionDefault( const TidyOptionImpl* option,
dflt->v = option->dflt;
}
static Bool OptionValueEqDefault( const TidyOptionImpl* option,
const TidyOptionValue* val )
{
@ -568,7 +572,7 @@ static Bool subDeprecatedOption( TidyDocImpl* doc, ctmbstr oldName, ctmbstr oldV
uint value;
/* `show-body-only` used to use the autoBoolPicks */
if ( GetPickListValue( oldValue, autoBoolPicks, &value ) )
if ( GetPickListValue( oldValue, &autoBoolPicks, &value ) )
{
if ( value == TidyNoState )
{