aboutsummaryrefslogtreecommitdiff
path: root/c/main.cpp
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2022-07-24 00:32:54 +0200
committerJohn Ankarström <john@ankarstrom.se>2022-07-24 00:32:54 +0200
commit720b5d820687e9d199686dbe875de1549ccf9a64 (patch)
treefeb66e38dada9cbb8924ddcb909cba837ae344dd /c/main.cpp
parent647fd553af9054b89f4a0d751ea89a98439ae5ac (diff)
downloadEpisodeBrowser-720b5d820687e9d199686dbe875de1549ccf9a64.tar.gz
Rename g_hFocus to g_hWndFocus.
Diffstat (limited to 'c/main.cpp')
-rw-r--r--c/main.cpp6
1 files changed, 3 insertions, 3 deletions
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();
}