diff options
author | George Hazan <george.hazan@gmail.com> | 2012-10-13 22:28:28 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-10-13 22:28:28 +0000 |
commit | fd90113f1a40064a9a6dc670a60dd3b2a738a467 (patch) | |
tree | 9d6bf74c6fdaaf7405329ef7f72caf12bbba658b /src/modules/findadd/findadd.cpp | |
parent | 5849172a0425c813f3f57abbbf941022fa420950 (diff) |
code cleaning
git-svn-id: http://svn.miranda-ng.org/main/trunk@1915 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/modules/findadd/findadd.cpp')
-rw-r--r-- | src/modules/findadd/findadd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/findadd/findadd.cpp b/src/modules/findadd/findadd.cpp index 7e7732aca1..7809a8bbd8 100644 --- a/src/modules/findadd/findadd.cpp +++ b/src/modules/findadd/findadd.cpp @@ -932,7 +932,7 @@ static INT_PTR CALLBACK DlgProcFindAdd(HWND hwndDlg, UINT msg, WPARAM wParam, LP szProto = (TCHAR*)alloca(sizeof(TCHAR)*(len+1));
*szProto = '\0';
SendDlgItemMessage(hwndDlg, IDC_PROTOLIST, CB_GETLBTEXT, SendDlgItemMessage(hwndDlg, IDC_PROTOLIST, CB_GETCURSEL, 0, 0), (LPARAM)szProto);
- DBWriteContactSettingTString(NULL, "FindAdd", "LastSearched", szProto?szProto:_T(""));
+ db_set_ts(NULL, "FindAdd", "LastSearched", szProto?szProto:_T(""));
}
SaveColumnSizes(hwndList);
if (dat->hResultHook != NULL) UnhookEvent(dat->hResultHook);
|