mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
[BROWSEUI]
- Correctly pass the buffer size to RegQueryValueW in CAutoComplete::Init. Patch by Víctor Martínez Calvo. CID 1401255 CORE-12795 #resolve svn path=/trunk/; revision=73860
This commit is contained in:
parent
5da9304c6d
commit
e2e12caf2a
1 changed files with 1 additions and 0 deletions
|
@ -184,6 +184,7 @@ HRESULT WINAPI CAutoComplete::Init(HWND hwndEdit, IUnknown *punkACL, LPCOLESTR p
|
|||
|
||||
if (res == ERROR_SUCCESS)
|
||||
{
|
||||
len = sizeof(result);
|
||||
res = RegQueryValueW(hKey, value, result, &len);
|
||||
if (res == ERROR_SUCCESS)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue