mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 18:45:46 +00:00
[SHELL32] -AddFSClassKeysToArray: Increase the size of the buffer for the value read from the registry. There are cases when 40 are not enough.
svn path=/trunk/; revision=75595
This commit is contained in:
parent
1eee5db1a5
commit
123a0e6818
1 changed files with 1 additions and 1 deletions
|
@ -288,7 +288,7 @@ void AddFSClassKeysToArray(PCUITEMID_CHILD pidl, HKEY* array, UINT* cKeys)
|
|||
{
|
||||
AddClassKeyToArray(extension, array, cKeys);
|
||||
|
||||
WCHAR wszClass[40], wszClass2[40];
|
||||
WCHAR wszClass[MAX_PATH], wszClass2[MAX_PATH];
|
||||
DWORD dwSize = sizeof(wszClass);
|
||||
if (RegGetValueW(HKEY_CLASSES_ROOT, extension, NULL, RRF_RT_REG_SZ, NULL, wszClass, &dwSize) == ERROR_SUCCESS)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue