From e5eb7125176eff290de41af77925213bc124fd6c Mon Sep 17 00:00:00 2001 From: vosrhd9 Date: Sun, 12 Mar 2023 19:32:03 +0300 Subject: [PATCH] fix fix --- Overlay/Overlay.vcxproj | 2 +- Overlay/main.cpp | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Overlay/Overlay.vcxproj b/Overlay/Overlay.vcxproj index 815a453..48069a3 100644 --- a/Overlay/Overlay.vcxproj +++ b/Overlay/Overlay.vcxproj @@ -112,7 +112,7 @@ - Level4 + EnableAllWarnings true true true diff --git a/Overlay/main.cpp b/Overlay/main.cpp index c140a80..9053674 100644 --- a/Overlay/main.cpp +++ b/Overlay/main.cpp @@ -2,6 +2,7 @@ #include #include #pragma comment(lib, "dwmapi.lib") +#pragma warning(disable : 4996) const MARGINS margins = { -1 ,-1, -1, -1 }; const wchar_t g_szClassName[] = L"overlay"; @@ -103,4 +104,4 @@ int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine exit(0); return Msg.wParam; -} \ No newline at end of file +}