Archived
All: Fixed bug when extracting "Properties" string which failed to remove a trailing whitespace
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user