summaryrefslogtreecommitdiff
path: root/plugins/Variables/src/trigger_variables.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-04-05 22:27:16 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-04-05 22:27:16 +0000
commit007b4c7301f0d26a72f89f74e9929f42e24eb3e6 (patch)
treeb1ee30b70c6e36d1a06aed6885cb80dc560a68ca /plugins/Variables/src/trigger_variables.cpp
parentf4a1bbc6ba4b8137cb868639ac146aa97e97e9df (diff)
- 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
Diffstat (limited to 'plugins/Variables/src/trigger_variables.cpp')
-rw-r--r--plugins/Variables/src/trigger_variables.cpp6
1 files changed, 3 insertions, 3 deletions
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);
}