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/MirFox/src/MirandaInterface.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'plugins/MirFox/src') diff --git a/plugins/MirFox/src/MirandaInterface.cpp b/plugins/MirFox/src/MirandaInterface.cpp index bb5242f90a..94e2755126 100644 --- a/plugins/MirFox/src/MirandaInterface.cpp +++ b/plugins/MirFox/src/MirandaInterface.cpp @@ -88,8 +88,7 @@ static int __cdecl onContactSettingChanged(WPARAM hContact, LPARAM lParam) static int onModulesLoaded(WPARAM, LPARAM) { //init popup classes - POPUPCLASS puc = { 0 }; - puc.cbSize = sizeof(puc); + POPUPCLASS puc = {}; puc.flags = PCF_UNICODE; puc.pszName = "MirFox_Notify"; -- cgit v1.2.3