From b067ea9be48326d2ab7e5951345cf5a0bab0a048 Mon Sep 17 00:00:00 2001 From: dreamforceinc Date: Fri, 15 Dec 2023 22:18:23 +0300 Subject: [PATCH] Made the MoveWindowToMonitorCenter() function static because the Visual Studio strongly recommends it. --- wCenterWindow/wCenterWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wCenterWindow/wCenterWindow.cpp b/wCenterWindow/wCenterWindow.cpp index 47f4fc1..23ea39f 100644 --- a/wCenterWindow/wCenterWindow.cpp +++ b/wCenterWindow/wCenterWindow.cpp @@ -67,7 +67,7 @@ LRESULT CALLBACK MouseHookProc(int, WPARAM, LPARAM); INT_PTR CALLBACK DlgProc(HWND, UINT, WPARAM, LPARAM); INT_PTR CALLBACK About(HWND, UINT, WPARAM, LPARAM); -VOID MoveWindowToMonitorCenter(HWND hwnd, BOOL bWorkArea, BOOL bResize) +static VOID MoveWindowToMonitorCenter(HWND hwnd, BOOL bWorkArea, BOOL bResize) { logger.Out(L"Entering the %s() function", TEXT(__FUNCTION__));