(from Yitzhak)
fixes a little problem noticed in mhsplash.c while trying to figure out my debugger problems.
This commit is contained in:
@@ -87,14 +87,11 @@ BOOL CALLBACK NHSplashWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa
|
|||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
/* set text control font */
|
/* set text control font */
|
||||||
hdc = GetDC(hWnd);
|
|
||||||
hdc = GetDC(hWnd);
|
hdc = GetDC(hWnd);
|
||||||
SendMessage(hWnd, WM_SETFONT,
|
SendMessage(hWnd, WM_SETFONT,
|
||||||
(WPARAM)mswin_get_font(NHW_TEXT, ATR_NONE, hdc, FALSE), 0);
|
(WPARAM)mswin_get_font(NHW_TEXT, ATR_NONE, hdc, FALSE), 0);
|
||||||
ReleaseDC(hWnd, hdc);
|
ReleaseDC(hWnd, hdc);
|
||||||
|
|
||||||
ReleaseDC(hWnd, hdc);
|
|
||||||
|
|
||||||
SetFocus(GetDlgItem(hWnd, IDOK));
|
SetFocus(GetDlgItem(hWnd, IDOK));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user