From c6f59d75142b7568dd89f5cff691b0b58030aafd Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 25 Sep 2023 13:41:55 +0300 Subject: SmileyAdd: fix for the obsolete quirks in SmaileyAdd API --- plugins/Clist_modern/src/modern_clc.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'plugins/Clist_modern/src/modern_clc.cpp') diff --git a/plugins/Clist_modern/src/modern_clc.cpp b/plugins/Clist_modern/src/modern_clc.cpp index fecf90b3c5..2e9646681d 100644 --- a/plugins/Clist_modern/src/modern_clc.cpp +++ b/plugins/Clist_modern/src/modern_clc.cpp @@ -1604,10 +1604,8 @@ static int clcHookModulesLoaded(WPARAM, LPARAM) // Register smiley category if (ServiceExists(MS_SMILEYADD_REGISTERCATEGORY)) { SMADD_REGCAT rc; - rc.cbSize = sizeof(rc); rc.name = "clist"; rc.dispname = Translate("Contact list smileys"); - CallService(MS_SMILEYADD_REGISTERCATEGORY, 0, (LPARAM)&rc); HookEvent(ME_SMILEYADD_OPTIONSCHANGED, clcHookSmileyAddOptionsChanged); -- cgit v1.2.3