summaryrefslogtreecommitdiff
path: root/plugins/Dropbox/src/dropbox_services.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2016-02-26 18:15:28 +0000
committerAlexander Lantsev <aunsane@gmail.com>2016-02-26 18:15:28 +0000
commit134773092963feea383ea315604bd1b996cdc6c5 (patch)
tree95ff0a97ebb7eaffee495e815004ea20f3537c79 /plugins/Dropbox/src/dropbox_services.cpp
parentbac49aec1a9a616cd3393048419e68ce176eee5f (diff)
Dropbox: fixed folder sending
git-svn-id: http://svn.miranda-ng.org/main/trunk@16350 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Dropbox/src/dropbox_services.cpp')
-rw-r--r--plugins/Dropbox/src/dropbox_services.cpp4
1 files changed, 3 insertions, 1 deletions
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]);