1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-01-18 16:54:13 +01:00
This commit is contained in:
Valentin Radu 2021-12-07 17:35:06 +02:00
parent 77d526a7c1
commit 9a42c6017b
3 changed files with 6 additions and 5 deletions

View File

@ -23,6 +23,7 @@ Tested on build 22000.348.
* Debug builds are clearly indicated in the "About" page of "Properties"
* Fixed solution to properly produce a debug setup program
* Possibility to uninstall by renaming `ep_setup.exe` to `ep_uninstall.exe` and running that (.4)
* Fixed a bug that crashed the "Properties" GUI when toggling certain settings (#527) (.6)
#### Simple Window Switcher

View File

@ -34,7 +34,7 @@ LSTATUS GUI_RegSetValueExW(
DWORD cbData
)
{
if (wcsncmp(lpValueName, L"Virtualized_" _T(EP_CLSID), 50))
if (!lpValueName || wcsncmp(lpValueName, L"Virtualized_" _T(EP_CLSID), 50))
{
return RegSetValueExW(hKey, lpValueName, 0, dwType, lpData, cbData);
}
@ -146,7 +146,7 @@ LSTATUS GUI_RegQueryValueExW(
LPDWORD lpcbData
)
{
if (wcsncmp(lpValueName, L"Virtualized_" _T(EP_CLSID), 50))
if (!lpValueName || wcsncmp(lpValueName, L"Virtualized_" _T(EP_CLSID), 50))
{
return RegQueryValueExW(hKey, lpValueName, lpReserved, lpType, lpData, lpcbData);
}

View File

@ -1,7 +1,7 @@
#define VER_MAJOR 22000
#define VER_MINOR 348
#define VER_BUILD_HI 40
#define VER_BUILD_LO 5
#define VER_BUILD_LO 6
#define VER_FLAGS VS_FF_PRERELEASE
@ -12,5 +12,5 @@
#define VER_STR(arg) #arg
// The String form of the version numbers
#define VER_FILE_STRING VALUE "FileVersion", "22000.348.40.5"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.40.5"
#define VER_FILE_STRING VALUE "FileVersion", "22000.348.40.6"
#define VER_PRODUCT_STRING VALUE "ProductVersion", "22000.348.40.6"