From 134773092963feea383ea315604bd1b996cdc6c5 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 26 Feb 2016 18:15:28 +0000 Subject: Dropbox: fixed folder sending git-svn-id: http://svn.miranda-ng.org/main/trunk@16350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Dropbox/src/dropbox_services.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/Dropbox/src/dropbox_services.cpp') diff --git a/plugins/Dropbox/src/dropbox_services.cpp b/plugins/Dropbox/src/dropbox_services.cpp index c539855398..7469521487 100644 --- a/plugins/Dropbox/src/dropbox_services.cpp +++ b/plugins/Dropbox/src/dropbox_services.cpp @@ -57,7 +57,9 @@ INT_PTR CDropbox::ProtoSendFile(WPARAM, LPARAM lParam) ftp->hContact = (hTransferContact) ? hTransferContact : pccsd->hContact; hTransferContact = 0; - ftp->SetDescription((TCHAR*)pccsd->wParam); + const TCHAR *description = (TCHAR*)pccsd->wParam; + if (description && description[0]) + ftp->AppendFormatData(_T("%s\r\n"), (TCHAR*)pccsd->wParam); TCHAR **paths = (TCHAR**)pccsd->lParam; ftp->SetWorkingDirectory(paths[0]); -- cgit v1.2.3