From 007b4c7301f0d26a72f89f74e9929f42e24eb3e6 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 5 Apr 2013 22:27:16 +0000 Subject: - rest of menus cleared; - old database macroses wiped out from all plugins (left in m_database.h for compatibility) git-svn-id: http://svn.miranda-ng.org/main/trunk@4324 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Variables/src/trigger_variables.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/Variables/src/trigger_variables.cpp') diff --git a/plugins/Variables/src/trigger_variables.cpp b/plugins/Variables/src/trigger_variables.cpp index f00b02d969..75920eb453 100644 --- a/plugins/Variables/src/trigger_variables.cpp +++ b/plugins/Variables/src/trigger_variables.cpp @@ -49,7 +49,7 @@ static int addToCache(DWORD triggerID) return -1; tvcCount += 1; - DBFreeVariant(&dbv); + db_free(&dbv); return 0; } @@ -106,7 +106,7 @@ static VOID CALLBACK checkStringsTimer(HWND hwnd,UINT message,UINT_PTR idEvent,D CallService(MS_TRIGGER_REPORTEVENT, 0, (LPARAM)&ri); mir_free(tvc[i].parsedText); tvc[i].parsedText = parsedText; - DBFreeVariant(&dbv); + db_free(&dbv); } } } @@ -125,7 +125,7 @@ INT_PTR CALLBACK DlgProcOptsStringChange(HWND hwndDlg, UINT msg, WPARAM wParam, triggerID = (DWORD)lParam; if (!DBGetTriggerSetting(triggerID, NULL, MODULENAME, SETTING_TRIGGERTEXT, &dbv)) { SetDlgItemTextA(hwndDlg, IDC_FORMATTEXT, dbv.pszVal); - DBFreeVariant(&dbv); + db_free(&dbv); } variables_skin_helpbutton(hwndDlg, IDC_SHOWHELP); } -- cgit v1.2.3