diff options
author | Alexander Lantsev <aunsane@gmail.com> | 2016-03-04 17:03:38 +0000 |
---|---|---|
committer | Alexander Lantsev <aunsane@gmail.com> | 2016-03-04 17:03:38 +0000 |
commit | 59537cbe3af5af1830d5b41049a506e18e42c4d3 (patch) | |
tree | e093b0b3a46ac0cf7cad40efe26f6e4a0bbaac20 /plugins/Db_autobackups/src/backup.cpp | |
parent | 05379824ac11098191faeb71a99ec38fdee1ef9e (diff) |
Db_autobackups: moved to new dropbox service
git-svn-id: http://svn.miranda-ng.org/main/trunk@16422 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Db_autobackups/src/backup.cpp')
-rw-r--r-- | plugins/Db_autobackups/src/backup.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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);
}
|