Browse Source

Fixed #527

pull/886/head 22000.348.40.6_9a42c60
Valentin Radu 4 years ago
parent
commit
9a42c6017b
  1. 1
      CHANGELOG.md
  2. 4
      ExplorerPatcher/GUI.c
  3. 6
      version.h

1
CHANGELOG.md

@ -23,6 +23,7 @@ Tested on build 22000.348. @@ -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

4
ExplorerPatcher/GUI.c

@ -34,7 +34,7 @@ LSTATUS GUI_RegSetValueExW( @@ -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( @@ -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);
}

6
version.h

@ -1,7 +1,7 @@ @@ -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 @@ @@ -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"

Loading…
Cancel
Save