mirror of
https://github.com/reactos/reactos.git
synced 2024-08-11 21:58:10 +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
|
@ -184,6 +184,7 @@ HRESULT WINAPI CAutoComplete::Init(HWND hwndEdit, IUnknown *punkACL, LPCOLESTR p
|
||||||
|
|
||||||
if (res == ERROR_SUCCESS)
|
if (res == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
|
len = sizeof(result);
|
||||||
res = RegQueryValueW(hKey, value, result, &len);
|
res = RegQueryValueW(hKey, value, result, &len);
|
||||||
if (res == ERROR_SUCCESS)
|
if (res == ERROR_SUCCESS)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue