summaryrefslogtreecommitdiff
path: root/src/core/stdfile/filerecvdlg.cpp
diff options
context:
space:
mode:
authorRozhuk Ivan <rozhuk.im@gmail.com>2014-11-27 01:26:26 +0000
committerRozhuk Ivan <rozhuk.im@gmail.com>2014-11-27 01:26:26 +0000
commitf5c584f3073bbe65bbf4794e555aabd651476612 (patch)
treee7d4d3bdc9305906c904a40c92f7060f538be9ce /src/core/stdfile/filerecvdlg.cpp
parent807f8ca306c10945f0dfddb0847ea5d96691d37a (diff)
StdFile: code cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@11116 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/core/stdfile/filerecvdlg.cpp')
-rw-r--r--src/core/stdfile/filerecvdlg.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/stdfile/filerecvdlg.cpp b/src/core/stdfile/filerecvdlg.cpp
index 5bed7dbd7b..68e84dcf73 100644
--- a/src/core/stdfile/filerecvdlg.cpp
+++ b/src/core/stdfile/filerecvdlg.cpp
@@ -418,7 +418,8 @@ INT_PTR CALLBACK DlgProcRecvFile(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM l
Button_FreeIcon_IcoLib(hwndDlg, IDC_HISTORY);
Button_FreeIcon_IcoLib(hwndDlg, IDC_USERMENU);
- if (dat) FreeFileDlgData(dat);
+ FreeFileDlgData(dat);
+ SetWindowLongPtr(hwndDlg, GWLP_USERDATA, 0);
break;
}
return FALSE;