aboutsummaryrefslogtreecommitdiff
path: root/c
diff options
context:
space:
mode:
Diffstat (limited to 'c')
-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();
}