Issue #306 - fix an old typo hidden by a cast!
Thanks to @benkasminbullock for spotting this fix.
This commit is contained in:
parent
06e4311189
commit
bbc72a9297
|
@ -355,7 +355,7 @@ ctmbstr TIDY_CALL tidyOptGetDefault( TidyOption topt )
|
|||
{
|
||||
const TidyOptionImpl* option = tidyOptionToImpl( topt );
|
||||
if ( option && option->type == TidyString )
|
||||
return (ctmbstr) option->dflt;
|
||||
return option->pdflt; /* Issue #306 - fix an old typo hidden by a cast! */
|
||||
return NULL;
|
||||
}
|
||||
ulong TIDY_CALL tidyOptGetDefaultInt( TidyOption topt )
|
||||
|
|
Loading…
Reference in a new issue