From a91c6042f14a05e02f45c05952edfcf51eac19b1 Mon Sep 17 00:00:00 2001 From: Pairi Daiza Date: Mon, 17 Aug 2020 20:44:17 +0200 Subject: [PATCH] + chg: Adjust the position of "grepWinNP3" icon. --- grepWinNP3/src/AboutDlg.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grepWinNP3/src/AboutDlg.cpp b/grepWinNP3/src/AboutDlg.cpp index 62390f23a..27a3029e9 100644 --- a/grepWinNP3/src/AboutDlg.cpp +++ b/grepWinNP3/src/AboutDlg.cpp @@ -47,8 +47,8 @@ static LRESULT DrawGrepWinIcon(HWND hWnd) { BeginPaint(hWnd, &ps); int const dpiSized = CDPIAware::Instance().Scale(hWnd, 64); - int const dpiLeft = CDPIAware::Instance().Scale(hWnd, 22); - int const dpiTop = CDPIAware::Instance().Scale(hWnd, 44); + int const dpiLeft = CDPIAware::Instance().Scale(hWnd, 12); + int const dpiTop = CDPIAware::Instance().Scale(hWnd, 12); HBRUSH const hBrush = (HBRUSH)GetSysColorBrush(COLOR_3DFACE); DrawIconEx(hDC, dpiLeft, dpiTop, g_hDlgIcon128, dpiSized, dpiSized, 0, hBrush, DI_NORMAL); ReleaseDC(hWnd, hDC);