From 59537cbe3af5af1830d5b41049a506e18e42c4d3 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 4 Mar 2016 17:03:38 +0000 Subject: Db_autobackups: moved to new dropbox service git-svn-id: http://svn.miranda-ng.org/main/trunk@16422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Db_autobackups/src/backup.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plugins/Db_autobackups/src/backup.cpp') diff --git a/plugins/Db_autobackups/src/backup.cpp b/plugins/Db_autobackups/src/backup.cpp index 18fd521c14..4e79fa83c5 100644 --- a/plugins/Db_autobackups/src/backup.cpp +++ b/plugins/Db_autobackups/src/backup.cpp @@ -319,9 +319,8 @@ int Backup(TCHAR *backup_filename) if (options.use_dropbox) { - CMString s_path(FORMAT, L"/Backups/%s", _tcsrchr(dest_file, '\\') + 1); - DropboxUploadInfo dui = { dest_file, s_path.GetString() }; - if (CallService(MS_DROPBOX_UPLOAD, NULL, (LPARAM)&dui)) + DropboxUploadInfo ui = { dest_file, _T("Backups") }; + if (CallService(MS_DROPBOX_UPLOAD, NULL, (LPARAM)&ui)) ShowPopup(TranslateT("Uploading to Dropbox failed"), TranslateT("Error"), nullptr); } -- cgit v1.2.3