diff options
author | George Hazan <george.hazan@gmail.com> | 2012-07-07 18:36:23 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-07-07 18:36:23 +0000 |
commit | 3dfbb6741fe9e70bff6b70608cd7663742287a4a (patch) | |
tree | 93ba7e4e68e55bc085f802b775f2394162348fe8 /plugins | |
parent | 156394c43d0070673764ebb43b24bcc2dcbdc97c (diff) |
fix for "chinese" in TTB options
git-svn-id: http://svn.miranda-ng.org/main/trunk@823 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/TopToolBar/ttbopt.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/TopToolBar/ttbopt.cpp b/plugins/TopToolBar/ttbopt.cpp index f2baa430d5..84f719662e 100644 --- a/plugins/TopToolBar/ttbopt.cpp +++ b/plugins/TopToolBar/ttbopt.cpp @@ -529,7 +529,7 @@ static INT_PTR CALLBACK DlgProcTTBBkgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, SendDlgItemMessage(hwndDlg, IDC_SELCOLOUR, CPM_SETCOLOUR, 0, DBGetContactSettingDword(NULL, TTB_OPTDIR, "SelBkColour", TTBDEFAULT_SELBKCOLOUR));
{
DBVARIANT dbv;
- if ( !DBGetContactSetting(NULL, TTB_OPTDIR, "BkBitmap", &dbv)) {
+ if ( !DBGetContactSettingTString(NULL, TTB_OPTDIR, "BkBitmap", &dbv)) {
SetDlgItemText(hwndDlg, IDC_FILENAME, dbv.ptszVal);
DBFreeVariant(&dbv);
}
|