Disable check for invalid chars in string.

svn path=/trunk/; revision=12133
This commit is contained in:
Steven Edwards 2004-12-15 05:27:17 +00:00
parent 2288ba398c
commit 7be51c63cb

View file

@ -1709,6 +1709,7 @@ BOOL WINAPI GetPrivateProfileStructW (LPCWSTR section, LPCWSTR key,
DWORD chksum = 0; DWORD chksum = 0;
end = k->value + wcslen(k->value); /* -> '\0' */ end = k->value + wcslen(k->value); /* -> '\0' */
#if 0
/* check for invalid chars in ASCII coded hex string */ /* check for invalid chars in ASCII coded hex string */
for (p = k->value; p < end; p++) for (p = k->value; p < end; p++)
{ {
@ -1720,7 +1721,7 @@ BOOL WINAPI GetPrivateProfileStructW (LPCWSTR section, LPCWSTR key,
break; break;
} }
} }
#endif
if (valid) if (valid)
{ {
BOOL highnibble = TRUE; BOOL highnibble = TRUE;