mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 03:08:19 +00:00
shell32: Pass size in bytes to RegGetValueW.
This commit is contained in:
parent
55525875a5
commit
00759195cc
|
@ -588,7 +588,7 @@ static HRESULT SHELL32_CreateExtensionUIObject(IShellFolder2 *iface,
|
|||
IPersistFile *persist_file;
|
||||
char extensionA[20];
|
||||
WCHAR extensionW[20], buf[MAX_PATH];
|
||||
DWORD size = MAX_PATH;
|
||||
DWORD size = sizeof(buf);
|
||||
STRRET path;
|
||||
WCHAR *file;
|
||||
GUID guid;
|
||||
|
|
Loading…
Reference in a new issue