diff options
author | John Ankarström <john@ankarstrom.se> | 2022-07-24 00:32:54 +0200 |
---|---|---|
committer | John Ankarström <john@ankarstrom.se> | 2022-07-24 00:32:54 +0200 |
commit | 720b5d820687e9d199686dbe875de1549ccf9a64 (patch) | |
tree | feb66e38dada9cbb8924ddcb909cba837ae344dd /c | |
parent | 647fd553af9054b89f4a0d751ea89a98439ae5ac (diff) | |
download | EpisodeBrowser-720b5d820687e9d199686dbe875de1549ccf9a64.tar.gz |
Rename g_hFocus to g_hWndFocus.
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(); } |