mirror of
https://github.com/reactos/reactos.git
synced 2025-04-26 16:40:27 +00:00
Undo last change, since it's an index in an array of TCHARs, so "1" is correct.
svn path=/trunk/; revision=26717
This commit is contained in:
parent
8202615b33
commit
a3d6e8f3e9
1 changed files with 1 additions and 1 deletions
|
@ -763,7 +763,7 @@ CRegKeySecurity_fnConstructor(LPTSTR lpRegKey,
|
|||
obj = (PCRegKeySecurity)HeapAlloc(GetProcessHeap(),
|
||||
HEAP_ZERO_MEMORY,
|
||||
FIELD_OFFSET(CRegKeySecurity,
|
||||
szRegKey[_tcslen(lpRegKey) + sizeof(TCHAR)]));
|
||||
szRegKey[_tcslen(lpRegKey) + 1]));
|
||||
if (obj != NULL)
|
||||
{
|
||||
obj->ref = 1;
|
||||
|
|
Loading…
Reference in a new issue