diff options
Diffstat (limited to 'c')
-rw-r--r-- | c/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -28,7 +28,7 @@ HFONT g_hfBold; HMENU g_hPopupMenu; /* Windows. */ -HWND g_hFocus; +HWND g_hWndFocus; HWND g_hWnd; HWND g_hWndStatus; @@ -254,11 +254,11 @@ LRESULT CALLBACK WndProc(const HWND hWnd, const UINT uMsg, const WPARAM wParam, case WM_ACTIVATE: switch (wParam) { case WA_INACTIVE: - g_hFocus = GetFocus(); + g_hWndFocus = GetFocus(); break; case WA_ACTIVE: case WA_CLICKACTIVE: - SetFocus(g_hFocus); + SetFocus(g_hWndFocus); Pl("track_episodes","update_tracked_episodes"); g_pElv->Redraw(); } |