diff options
author | dartraiden <wowemuh@gmail.com> | 2017-08-25 15:41:57 +0300 |
---|---|---|
committer | dartraiden <wowemuh@gmail.com> | 2017-08-25 15:41:57 +0300 |
commit | 1c1ee19ac151d50f436b94db778ac53313d3de3e (patch) | |
tree | 267559663f15056120a50eb5b2429d3092eaa345 /plugins | |
parent | 6597e18d5b763c3758d4bc1ded694d254da6ebe0 (diff) |
this should be in [Database], because it's not dbx_mmap-specific feature
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/Db3x_mmap/src/ui.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Db3x_mmap/src/ui.cpp b/plugins/Db3x_mmap/src/ui.cpp index 1eeab530f5..d73f95966a 100644 --- a/plugins/Db3x_mmap/src/ui.cpp +++ b/plugins/Db3x_mmap/src/ui.cpp @@ -104,10 +104,10 @@ static INT_PTR CALLBACK sttEnterPassword(HWND hwndDlg, UINT uMsg, WPARAM wParam, wchar_t tszPath[MAX_PATH];
PathToAbsoluteW(L"\\mirandaboot.ini", tszPath);
- if (GetPrivateProfileInt(L"Dbx_mmap", L"RememberPassword", 0, tszPath)) {
+ if (GetPrivateProfileInt(L"Database", L"RememberPassword", 0, tszPath)) {
CREDENTIAL cred = { 0 };
cred.Type = CRED_TYPE_GENERIC;
- cred.TargetName = L"Miranda NG/Dbx_mmap";
+ cred.TargetName = L"Miranda NG/Database";
cred.CredentialBlobSize = DWORD(mir_wstrlen(param->newPass) * sizeof(wchar_t) + sizeof(wchar_t));
cred.CredentialBlob = (LPBYTE)param->newPass;
cred.Persist = CRED_PERSIST_LOCAL_MACHINE;
|