From 7f7252104c054002c8b30636ac0b327e915e7b6d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 17 Nov 2016 22:30:41 +0300 Subject: Utils_OpenUrlT Utils_ReplaceVarsT --- plugins/Db_autobackups/src/backup.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 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 ee9383fdff..3438427ad8 100644 --- a/plugins/Db_autobackups/src/backup.cpp +++ b/plugins/Db_autobackups/src/backup.cpp @@ -194,7 +194,7 @@ int Backup(wchar_t *backup_filename) DWORD size = _countof(buffer); bZip = options.use_zip != 0; - backupfolder = Utils_ReplaceVarsT(options.folder); + backupfolder = Utils_ReplaceVarsW(options.folder); // ensure the backup folder exists (either create it or return non-zero signifying error) err = CreateDirectoryTreeW(backupfolder); if (err != ERROR_ALREADY_EXISTS && err != 0) { @@ -222,7 +222,7 @@ int Backup(wchar_t *backup_filename) SetDlgItemText(progress_dialog, IDC_PROGRESSMESSAGE, TranslateT("Copying database file...")); mir_snwprintf(source_file, L"%s\\%s", profilePath, dbname); - wchar_t *pathtmp = Utils_ReplaceVarsT(source_file); + wchar_t *pathtmp = Utils_ReplaceVarsW(source_file); BOOL res = 0; if (bZip) { -- cgit v1.2.3