1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-02-07 23:01:22 +01:00
This commit is contained in:
Valentin Radu 2021-10-03 04:05:27 +03:00
parent 2635e4cee7
commit 7ba90b3772
2 changed files with 18 additions and 2 deletions

View File

@ -205,8 +205,16 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
if (p)
{
p--;
if (p == L' ')
{
*p = 0;
}
else
{
p++;
*p = 0;
}
}
}
rcText.bottom += GUI_CAPTION_LINE_HEIGHT - dwLineHeight;
dwLineHeight = GUI_CAPTION_LINE_HEIGHT;

View File

@ -258,8 +258,16 @@ DWORD ShowLauncherTipContextMenu(
if (p)
{
p--;
if (p == L' ')
{
*p = 0;
}
else
{
p++;
*p = 0;
}
}
MENUITEMINFOW menuInfo;
ZeroMemory(&menuInfo, sizeof(MENUITEMINFOW));