Browse Source

Fixes #34

pull/51/head
Valentin Radu 4 years ago
parent
commit
7ba90b3772
  1. 8
      ExplorerPatcher/GUI.c
  2. 8
      ExplorerPatcher/dllmain.c

8
ExplorerPatcher/GUI.c

@ -205,9 +205,17 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt) @@ -205,9 +205,17 @@ 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;
_this->extent.cyTopHeight = rcText.bottom;

8
ExplorerPatcher/dllmain.c

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

Loading…
Cancel
Save