Fixed hex to binary conversion.

This commit is contained in:
Dmitry Timoshkov 2002-08-13 18:11:15 +00:00 committed by Alexandre Julliard
parent 4c903ea4b8
commit 2a00807f40
1 changed files with 1 additions and 1 deletions

View File

@ -1666,7 +1666,7 @@ BOOL WINAPI SetupGetBinaryField( const INFCONTEXT *context, DWORD index, BYTE *b
DWORD value = 0;
for (p = field->text; *p && isxdigitW(*p); p++)
{
if ((value <<= 8) > 255)
if ((value <<= 4) > 255)
{
SetLastError( ERROR_INVALID_DATA );
return FALSE;