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/TranslitSwitcher/src/Layoutproc.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'plugins/TranslitSwitcher/src') diff --git a/plugins/TranslitSwitcher/src/Layoutproc.cpp b/plugins/TranslitSwitcher/src/Layoutproc.cpp index 6cd5342ad5..26ab1ebe52 100644 --- a/plugins/TranslitSwitcher/src/Layoutproc.cpp +++ b/plugins/TranslitSwitcher/src/Layoutproc.cpp @@ -806,10 +806,10 @@ int OnButtonPressed(WPARAM wParam, LPARAM lParam) CallService(MS_SMILEYADD_BATCHFREE, 0, (LPARAM)smileyPrs); DBVARIANT dbv = {0}; - DBGetContactSettingTString(NULL, "TranslitSwitcher", "ResendSymbol", &dbv); + db_get_ts(NULL, "TranslitSwitcher", "ResendSymbol", &dbv); if (lstrcmp(dbv.ptszVal, NULL) == 0) { - DBFreeVariant(&dbv); + db_free(&dbv); SendMessage(hEdit, WM_SETTEXT, 0, (LPARAM)sel); SendMessage(hEdit, EM_SETSEL, 0, slen); SendMessage(cbcd->hwndFrom, WM_COMMAND, IDOK, 0); @@ -855,10 +855,10 @@ int OnButtonPressed(WPARAM wParam, LPARAM lParam) if (slen != 0) Transliterate(sel); DBVARIANT dbv = {0}; - DBGetContactSettingTString(NULL, "TranslitSwitcher", "ResendSymbol", &dbv); + db_get_ts(NULL, "TranslitSwitcher", "ResendSymbol", &dbv); if (lstrcmp(dbv.ptszVal, NULL) == 0) { - DBFreeVariant(&dbv); + db_free(&dbv); SendMessage(hEdit, WM_SETTEXT, 0, (LPARAM)sel); SendMessage(hEdit, EM_SETSEL, 0, slen); SendMessage(cbcd->hwndFrom, WM_COMMAND, IDOK, 0); @@ -903,10 +903,10 @@ int OnButtonPressed(WPARAM wParam, LPARAM lParam) if (slen != 0) Invert(sel); DBVARIANT dbv = {0}; - DBGetContactSettingTString(NULL, "TranslitSwitcher", "ResendSymbol", &dbv); + db_get_ts(NULL, "TranslitSwitcher", "ResendSymbol", &dbv); if (lstrcmp(dbv.ptszVal, NULL) == 0) { - DBFreeVariant(&dbv); + db_free(&dbv); SendMessage(hEdit, WM_SETTEXT, 0, (LPARAM)sel); SendMessage(hEdit, EM_SETSEL, 0, slen); SendMessage(cbcd->hwndFrom, WM_COMMAND, IDOK, 0); -- cgit v1.2.3