From d76629aac83bb279512b84be8a5b3f62b1800278 Mon Sep 17 00:00:00 2001
From: Yuhang Zhao <zhaoyuhang@rankyee.com>
Date: 周一, 04 12月 2023 15:01:30 +0800
Subject: [PATCH] wip

---
 src/core/contexts/win32windowcontext.cpp |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/core/contexts/win32windowcontext.cpp b/src/core/contexts/win32windowcontext.cpp
index 7c50d84..1f32b1a 100644
--- a/src/core/contexts/win32windowcontext.cpp
+++ b/src/core/contexts/win32windowcontext.cpp
@@ -914,8 +914,7 @@
                 // still find the right monitor even when we're restoring from
                 // minimized.
                 if (max || full) {
-                    APPBARDATA abd;
-                    SecureZeroMemory(&abd, sizeof(abd));
+                    APPBARDATA abd{};
                     abd.cbSize = sizeof(abd);
                     const UINT taskbarState = ::SHAppBarMessage(ABM_GETSTATE, &abd);
                     // First, check if we have an auto-hide taskbar at all:

--
Gitblit v1.9.1