diff options
Diffstat (limited to 'plugins/Db3x_mmap/src/ui.cpp')
-rw-r--r-- | plugins/Db3x_mmap/src/ui.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/Db3x_mmap/src/ui.cpp b/plugins/Db3x_mmap/src/ui.cpp index 49601ba2c7..e0929408a7 100644 --- a/plugins/Db3x_mmap/src/ui.cpp +++ b/plugins/Db3x_mmap/src/ui.cpp @@ -102,9 +102,7 @@ static INT_PTR CALLBACK sttEnterPassword(HWND hwndDlg, UINT uMsg, WPARAM wParam, case IDOK:
GetDlgItemText(hwndDlg, IDC_USERPASS, param->newPass, _countof(param->newPass));
- wchar_t tszPath[MAX_PATH];
- PathToAbsoluteW(L"\\mirandaboot.ini", tszPath);
- if (GetPrivateProfileInt(L"Database", L"RememberPassword", 0, tszPath)) {
+ if (Profile_GetSettingInt(L"Database/RememberPassword")) {
CREDENTIAL cred = { 0 };
cred.Type = CRED_TYPE_GENERIC;
cred.TargetName = L"Miranda NG/Database";
|