From 965e9ee85855aaccfab36fdf0a2b2a2d5a0d6f2b Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Wed, 15 Dec 2004 23:34:37 +0000 Subject: [PATCH] revert change from lastnight. svn path=/trunk/; revision=12139 --- reactos/lib/kernel32/misc/profile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reactos/lib/kernel32/misc/profile.c b/reactos/lib/kernel32/misc/profile.c index 5fa6f3d4c69..406b90fd92b 100644 --- a/reactos/lib/kernel32/misc/profile.c +++ b/reactos/lib/kernel32/misc/profile.c @@ -1709,7 +1709,7 @@ BOOL WINAPI GetPrivateProfileStructW (LPCWSTR section, LPCWSTR key, DWORD chksum = 0; end = k->value + wcslen(k->value); /* -> '\0' */ -#if 0 + /* check for invalid chars in ASCII coded hex string */ for (p = k->value; p < end; p++) { @@ -1721,7 +1721,7 @@ BOOL WINAPI GetPrivateProfileStructW (LPCWSTR section, LPCWSTR key, break; } } -#endif + if (valid) { BOOL highnibble = TRUE;