diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2015-02-14 21:39:32 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2015-02-14 21:39:32 +0000 |
commit | 2e75e0ab1b5467ae6fd235f5f07fe19641d79b6d (patch) | |
tree | f03c18fb44ada91730b18c96cde0a0d6ed903358 | |
parent | e756026c3abd0a81cdf8b082faf7dbaa848489b1 (diff) |
fixed crash on transfer resuming
git-svn-id: http://svn.miranda-ng.org/main/trunk@12112 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r-- | src/core/stdfile/src/filerecvdlg.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/stdfile/src/filerecvdlg.cpp b/src/core/stdfile/src/filerecvdlg.cpp index 55987c3045..e1cff072ea 100644 --- a/src/core/stdfile/src/filerecvdlg.cpp +++ b/src/core/stdfile/src/filerecvdlg.cpp @@ -427,7 +427,10 @@ INT_PTR CALLBACK DlgProcRecvFile(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l SkinPlaySound("FileDenied");
FlashWindow(hwndDlg, TRUE);
}
- else SendMessage(hwndDlg, WM_COMMAND, MAKEWPARAM(IDCANCEL, 0), (LPARAM)GetDlgItem(hwndDlg, IDCANCEL));
+ else if (ack->result != ACKRESULT_FILERESUME)
+ {
+ SendMessage(hwndDlg, WM_COMMAND, MAKEWPARAM(IDCANCEL, 0), (LPARAM)GetDlgItem(hwndDlg, IDCANCEL));
+ }
}
break;
|