From 720b5d820687e9d199686dbe875de1549ccf9a64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Ankarstr=C3=B6m?= Date: Sun, 24 Jul 2022 00:32:54 +0200 Subject: Rename g_hFocus to g_hWndFocus. --- c/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'c/main.cpp') diff --git a/c/main.cpp b/c/main.cpp index 746bf7e..7937b50 100644 --- a/c/main.cpp +++ b/c/main.cpp @@ -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(); } -- cgit v1.2.3