Fixed bug #717022, overlapping chars in dir input

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2454 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-04-08 09:11:51 +00:00
parent 7ce9651864
commit 0cf8b75be5

View file

@ -134,6 +134,7 @@ static BOOL NSISCALL _HandleStaticBkColor(UINT uMsg, WPARAM wParam, LPARAM lPara
case WM_CTLCOLORBTN:
{
BOOL brush = (BOOL)GetWindowLong((HWND)lParam, GWL_USERDATA);
if (!brush) return 0;
if (brush == -1) {
COLORREF dlgColor = GetSysColor(COLOR_BTNFACE);
SetBkColor((HDC)wParam, dlgColor);