1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-02-01 04:05:47 +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,7 +205,15 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
if (p)
{
p--;
*p = 0;
if (p == L' ')
{
*p = 0;
}
else
{
p++;
*p = 0;
}
}
}
rcText.bottom += GUI_CAPTION_LINE_HEIGHT - dwLineHeight;

View File

@ -258,7 +258,15 @@ DWORD ShowLauncherTipContextMenu(
if (p)
{
p--;
*p = 0;
if (p == L' ')
{
*p = 0;
}
else
{
p++;
*p = 0;
}
}
MENUITEMINFOW menuInfo;