diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-20 13:36:00 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-20 13:36:00 +0000 |
commit | 5b378496114ec47ffa27d3d9e7bc2a744d9e0a77 (patch) | |
tree | f7550dadde23f61182af6e542101eb5fedfa2d85 /plugins/Utils/mir_options.cpp | |
parent | 0ba80eef50988ca3e88a16839eaf0a840f1cb139 (diff) |
- all xstatus services moved to m_xstatus.h
- old obsoleted services PS_GETXSTATUS & PS_SETXSTATUS removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2390 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Utils/mir_options.cpp')
-rw-r--r-- | plugins/Utils/mir_options.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Utils/mir_options.cpp b/plugins/Utils/mir_options.cpp index 441fa4cb6a..8a31f3c1ee 100644 --- a/plugins/Utils/mir_options.cpp +++ b/plugins/Utils/mir_options.cpp @@ -45,7 +45,7 @@ static TCHAR* MyDBGetContactSettingTString(HANDLE hContact, char* module, char* if ( !DBGetContactSettingTString(hContact, module, setting, &dbv))
{
lstrcpyn(out, dbv.ptszVal, (int)len);
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
else
{
@@ -146,7 +146,7 @@ static void LoadOpt(OptPageControl *ctrl, char *module) if ( !DBGetContactSettingString(NULL, module, ctrl->setting, &dbv))
{
lstrcpynA(tmp, dbv.pszVal, SIZEOF(tmp));
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
if (tmp[0] != 0)
@@ -281,7 +281,7 @@ INT_PTR CALLBACK SaveOptsDlgProc(OptPageControl *controls, int controlsSize, cha DBVARIANT dbv = {0};
if ( !DBGetContactSettingString(NULL, module, ctrl->setting, &dbv)) {
lstrcpynA(tmp, dbv.pszVal, SIZEOF(tmp));
- DBFreeVariant(&dbv);
+ db_free(&dbv);
}
if (tmp[0] != 0)
|