All: Fixed bug when extracting "Properties" string which failed to remove a trailing whitespace

This commit is contained in:
Valentin Radu
2022-02-14 02:46:00 +02:00
parent ce9b28a4e7
commit 14e7eef87b
2 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -1186,7 +1186,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
if (p)
{
p--;
if (p == L' ')
if (*p == L' ')
{
*p = 0;
}
@@ -3600,7 +3600,7 @@ __declspec(dllexport) int ZZGUI(HWND hWnd, HINSTANCE hInstance, LPSTR lpszCmdLin
if (p)
{
p--;
if (p == L' ')
if (*p == L' ')
{
*p = 0;
}
+3 -3
View File
@@ -1086,7 +1086,7 @@ DWORD ShowLauncherTipContextMenu(
if (p)
{
p--;
if (p == L' ')
if (*p == L' ')
{
*p = 0;
}
@@ -1720,7 +1720,7 @@ HMENU explorer_LoadMenuW(HINSTANCE hInstance, LPCWSTR lpMenuName)
if (p)
{
p--;
if (p == L' ')
if (*p == L' ')
{
*p = 0;
}
@@ -2034,7 +2034,7 @@ INT64 Shell_TrayWndSubclassProc(
if (p)
{
p--;
if (p == L' ')
if (*p == L' ')
{
*p = 0;
}