diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-21 18:42:27 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-21 18:42:27 +0300 |
commit | 7d4d8ddd73ec9977d7bcd0b90c6b8e3725e26cc2 (patch) | |
tree | 6cdabcb7bef710e1ab0da21acfa144143170a8e0 /options.cpp | |
parent | 58ff139a2aa754f77b9908de2cdfda2c90aae7df (diff) |
modified: main.cpp
modified: new_gpg.rc
modified: options.cpp
modified: resource.h
Diffstat (limited to 'options.cpp')
-rw-r--r-- | options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/options.cpp b/options.cpp index e1c9c9c..99d23f6 100644 --- a/options.cpp +++ b/options.cpp @@ -170,7 +170,7 @@ static BOOL CALLBACK DlgProcGpgOpts(HWND hwndDlg, UINT msg, WPARAM wParam, LPARA i++; } tmp = UniGetContactSettingUtf(NULL, szGPGModuleName, "szLogFilePath", _T("")); - SetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, tmp); + SetDlgItemText(hwndDlg, IDC_LOG_FILE_EDIT, (_tcslen(tmp) > 1)?tmp:_T("c:\\GPGdebug.log")); mir_free(tmp); CheckStateLoadDB(hwndDlg, IDC_DEBUG_LOG, "bDebugLog", 0); CheckStateLoadDB(hwndDlg, IDC_JABBER_API, "bJabberAPI", 1); |