Commit 34749c2a authored by Jason Edmeades's avatar Jason Edmeades Committed by Alexandre Julliard

regedit: Fix importing of .reg hex.

parent 799ef700
...@@ -109,7 +109,9 @@ static BYTE* convertHexCSVToHex(char *str, DWORD *size) ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment