From 346ae348ae7ee5a594c9fcd17114ae949c1ce201 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 13 Jun 2022 15:09:41 +0300 Subject: Popup+: fix for a madness with default popup class values --- plugins/BasicHistory/src/Scheduler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/BasicHistory/src') diff --git a/plugins/BasicHistory/src/Scheduler.cpp b/plugins/BasicHistory/src/Scheduler.cpp index 553171710a..6721f102f4 100644 --- a/plugins/BasicHistory/src/Scheduler.cpp +++ b/plugins/BasicHistory/src/Scheduler.cpp @@ -63,7 +63,7 @@ static int OnShutdown(WPARAM, LPARAM) void InitScheduler() { - POPUPCLASS test = { sizeof(test) }; + POPUPCLASS test = {}; test.flags = PCF_UNICODE; test.hIcon = Skin_LoadIcon(SKINICON_OTHER_HISTORY); test.iSeconds = 10; -- cgit v1.2.3