I guess no one tried to use this before... it's been broken since the initial commit. We've been comparing the config value from a different option the whole time.
This commit is contained in:
parent
4b1c048ee5
commit
fc3cba86a8
|
@ -1823,7 +1823,7 @@ Bool TY_(ConfigDiffThanDefault)( TidyDocImpl* doc )
|
|||
{
|
||||
Bool diff = no;
|
||||
const TidyOptionImpl* option = option_defs + 1;
|
||||
const TidyOptionValue* val = doc->config.value;
|
||||
const TidyOptionValue* val = doc->config.value + 1;
|
||||
for ( /**/; !diff && option && option->name; ++option, ++val )
|
||||
{
|
||||
diff = !OptionValueEqDefault( option, val );
|
||||
|
|
Loading…
Reference in a new issue