From da99ce18948cb35cb4c77f655d2588378e176d92 Mon Sep 17 00:00:00 2001 From: owomomo Date: Sat, 20 Apr 2019 19:15:04 +0800 Subject: [PATCH] detail --- src/drivers/win/ramwatch.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/win/ramwatch.cpp b/src/drivers/win/ramwatch.cpp index 89154d37..642a631e 100644 --- a/src/drivers/win/ramwatch.cpp +++ b/src/drivers/win/ramwatch.cpp @@ -1138,11 +1138,11 @@ LRESULT CALLBACK RamWatchProc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam } case NM_SETFOCUS: listFocus = true; - InvalidateRect(GetDlgItem(RamWatchHWnd, IDC_WATCHLIST), 0, 0); + InvalidateRect(GetDlgItem(hDlg, IDC_WATCHLIST), 0, 0); break; case NM_KILLFOCUS: listFocus = false; - InvalidateRect(GetDlgItem(RamWatchHWnd, IDC_WATCHLIST), 0, 0); + InvalidateRect(GetDlgItem(hDlg, IDC_WATCHLIST), 0, 0); break; case NM_CUSTOMDRAW: {