From 14babe357f69bf369c4660c49a176cf90a2b041f Mon Sep 17 00:00:00 2001 From: Miran Date: Mon, 10 Jun 2024 12:08:33 +0200 Subject: [PATCH] fixup! Removed SHQueryUserNotificationState use. --- cleo_sdk/CLEO_Utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cleo_sdk/CLEO_Utils.h b/cleo_sdk/CLEO_Utils.h index b2642fc6..9e20b316 100644 --- a/cleo_sdk/CLEO_Utils.h +++ b/cleo_sdk/CLEO_Utils.h @@ -187,7 +187,7 @@ namespace CLEO va_end(args); auto mainWnd = (HWND*)0x001C9055C; // PluginSDK: RsGlobal.ps->window - auto style = GetWindowLong(RsGlobal.ps->window, GWL_STYLE); + auto style = GetWindowLong(*mainWnd, GWL_STYLE); bool fullscreen = (style & (WS_BORDER | WS_CAPTION)) != 0; if (fullscreen)