From 75b1ff75c42644eb36552762652e4b0c9ff071bc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 2 Nov 2012 14:11:01 +0000 Subject: final switch to the typed icolib api git-svn-id: http://svn.miranda-ng.org/main/trunk@2152 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/StatusPlugins/StartupStatus/options.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/StatusPlugins/StartupStatus/options.cpp') diff --git a/plugins/StatusPlugins/StartupStatus/options.cpp b/plugins/StatusPlugins/StartupStatus/options.cpp index 410412072c..2584043769 100644 --- a/plugins/StatusPlugins/StartupStatus/options.cpp +++ b/plugins/StatusPlugins/StartupStatus/options.cpp @@ -148,7 +148,7 @@ static char* GetLinkDescription(TSettingsList& protoSettings) else if ( protoSettings[i].status == ID_STATUS_CURRENT ) status = Translate(""); else if ( protoSettings[i].status >= MIN_STATUS && protoSettings[i].status <= MAX_STATUS ) - status = (char *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)protoSettings[i].status, (LPARAM)0); + status = (char *)CallService(MS_CLIST_GETSTATUSMODEDESCRIPTION, (WPARAM)protoSettings[i].status, 0); if (status == NULL) status = ""; @@ -967,12 +967,12 @@ static int ClearDatabase(char* filter) dbces.szModule = MODULENAME; dbces.lParam = (LPARAM)&settingCount; dbces.pfnEnumProc = CountSettings; - CallService(MS_DB_CONTACT_ENUMSETTINGS,(WPARAM)NULL,(LPARAM)&dbces); + CallService(MS_DB_CONTACT_ENUMSETTINGS,0,(LPARAM)&dbces); settings = ( char** )malloc(settingCount*sizeof(char*)); dbces.lParam = (LPARAM)&settings; dbces.pfnEnumProc = DeleteSetting; - CallService(MS_DB_CONTACT_ENUMSETTINGS,(WPARAM)NULL,(LPARAM)&dbces); + CallService(MS_DB_CONTACT_ENUMSETTINGS,0,(LPARAM)&dbces); for (i=0; i < settingCount; i++) { if ((filter == NULL) || (!strncmp(filter, settings[i], strlen(filter)))) DBDeleteContactSetting(NULL, MODULENAME, settings[i]); -- cgit v1.2.3