diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-24 21:27:40 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2010-08-24 21:27:40 +0300 |
commit | 1d69a5d7728ddb03ef5e6f29de762d4eb5fc6256 (patch) | |
tree | f16ce5b63dafd793bfc61d563cb25f1c10885d38 | |
parent | 35c5cc6c13327c36e3e0bf0f5d6431a9c19c897a (diff) |
bugfixes
-rw-r--r-- | main.cpp | 4 | ||||
-rw-r--r-- | messages.cpp | 1 | ||||
-rw-r--r-- | options.cpp | 1 |
3 files changed, 2 insertions, 4 deletions
@@ -150,7 +150,7 @@ static BOOL CALLBACK DlgProcFirstRun(HWND hwndDlg,UINT msg,WPARAM wParam,LPARAM {
string out;
DWORD code;
- wstring cmd = _T("--batch --export -a ");
+ wstring cmd = _T("--batch -a --export ");
cmd += fp;
if(pxExecute(&cmd, "", &out, &code) == pxNotFound)
{
@@ -751,7 +751,7 @@ static BOOL CALLBACK DlgProcLoadExistingKey(HWND hwndDlg,UINT msg,WPARAM wParam, extern HWND hPubKeyEdit;
string out;
DWORD code;
- wstring cmd = _T("--batch --export -a ");
+ wstring cmd = _T("--batch -a --export ");
cmd += id; if(pxExecute(&cmd, "", &out, &code) == pxNotFound)
{
diff --git a/messages.cpp b/messages.cpp index f7e0d9c..78994e5 100644 --- a/messages.cpp +++ b/messages.cpp @@ -101,7 +101,6 @@ int RecvMsgSvc(WPARAM w, LPARAM l) DBWriteContactSettingByte(ccs->hContact, szGPGModuleName, "GPGEncryption", 1);
setSrmmIcon(ccs->hContact);
setClistIcon(ccs->hContact);
- return 0;
}
if(isContactHaveKey(ccs->hContact))
{
diff --git a/options.cpp b/options.cpp index e00ebbd..70ffc24 100644 --- a/options.cpp +++ b/options.cpp @@ -673,7 +673,6 @@ static BOOL CALLBACK DlgProcLoadPublicKey(HWND hwndDlg,UINT msg,WPARAM wParam,LP mir_free(tmp); DeleteFile(tmp2); } - delete [] tmp; key_buf.clear(); if(IsDlgButtonChecked(hwndDlg, IDC_ENABLE_ENCRYPTION)) {
|