nextcloud-desktop/shell_integration/windows
Michael Schuster 2b680cadd3 Fix nullptr regression in RegistryUtil::ReadRegistry
Merging PR #2057 caused the Windows build to fail:

shell_integration\windows\OCUtil\RegistryUtil.cpp(43): error C2664: 'LSTATUS RegOpenKeyExW(HKEY,LPCWSTR,DWORD,REGSAM,PHKEY)': cannot convert argument 3 from 'nullptr' to 'DWORD'

The previous implementation prior the PR supplied NULL as the argument 3 to RegOpenKeyEx,
so it was silently accepted and translated to zero, satisfying the DWORD's type requirement.

Signed-off-by: Michael Schuster <michael@schuster.ms>
2020-06-09 18:34:43 +02:00
..
OCContextMenu Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
OCOverlays Replace NULL by nullptr in all C++ files 2020-06-08 20:07:50 +02:00
OCUtil Fix nullptr regression in RegistryUtil::ReadRegistry 2020-06-09 18:34:43 +02:00
CMakeLists.txt Build Explorer extension if building with MSVC 2018-01-13 13:58:17 +01:00
OCShellExtensions.sln Windows shell integration: Make the share entry work by adding a Sleep 2015-01-23 15:43:03 +01:00