diff options
author | George Hazan <george.hazan@gmail.com> | 2013-04-05 22:27:16 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-04-05 22:27:16 +0000 |
commit | 007b4c7301f0d26a72f89f74e9929f42e24eb3e6 (patch) | |
tree | b1ee30b70c6e36d1a06aed6885cb80dc560a68ca /plugins/TranslitSwitcher/src/Layoutproc.cpp | |
parent | f4a1bbc6ba4b8137cb868639ac146aa97e97e9df (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/TranslitSwitcher/src/Layoutproc.cpp')
-rw-r--r-- | plugins/TranslitSwitcher/src/Layoutproc.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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);
|