projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[REGDUMP]
[reactos.git]
/
rostests
/
tests
/
regdump
/
regproc.c
diff --git
a/rostests/tests/regdump/regproc.c
b/rostests/tests/regdump/regproc.c
index
56832b9
..
8aa8406
100644
(file)
--- a/
rostests/tests/regdump/regproc.c
+++ b/
rostests/tests/regdump/regproc.c
@@
-310,7
+310,7
@@
DWORD convertHexCSVToHex(TCHAR* str, BYTE* buf, ULONG bufLen)
TCHAR xbuf[3];
TCHAR wc;
memcpy(xbuf, s, 2);
- xbuf[
3
] = _T('\0');
+ xbuf[
2
] = _T('\0');
_stscanf(xbuf, _T("%02x"), (UINT*)&wc);
if (byteCount < bufLen)
*b++ = (unsigned char)wc;