Description
I was working on a test file, to output all the badChars
messages... recently more discussed in Issue #519, PR #518... to more carefully review this suggested message wrap
change...
As far as I can see this was added in message.c
from the first commit d505869, but there is an #if 0
around the if ( doc->badChars & WINDOWS_CHARS )
from that beginning, circa Jan 15 2016, so the message string in language_en.h
of TEXT_WINDOWS_CHARS
is no longer needed... i.e is a DEPRECIATED string...
It further seems tidyenum.h
does not contains a WINDOWS_CHAR
bit... in the /* badchar bit field */
...
And this bit, WINDOWS_CHARS
was also commented out in the old CVS source of localize.c
... circa 2001, so not sure why it continued...
But maybe I am mistaken, and the #if 0
define should also removed, and maybe rename to the current convention of BC_xxxx!\
... and maybe there is a case to restore it...
But I can not find anywhere in the current tidy library code that adds this undefined bit, WINDOWS_CHARS
to doc->badChars
, so at this moment, the message is redundant... never used...
Suggest removal...