regedit: Fix importing of .reg hex.

This commit is contained in:
Jason Edmeades 2007-08-10 22:28:36 +01:00 committed by Alexandre Julliard
parent 799ef700c4
commit 34749c2a07
1 changed files with 3 additions and 1 deletions

View File

@ -109,7 +109,9 @@ static BYTE* convertHexCSVToHex(char *str, DWORD *size)
*d++ =(BYTE)wc; *d++ =(BYTE)wc;
(*size)++; (*size)++;
s+=(wc < 0x10 ? 2 : 3); /* Skip one or two digits and any comma */
while (*s && *s!=',') s++;
if (*s) s++;
} }
return data; return data;