Fix gui_msg %s to {1} call

Change-Id: I39f032e0cad5d482d11e0e8d1c4c7c3e7ec6d041
This commit is contained in:
Ethan Yonker
2015-12-20 22:49:00 -06:00
parent d62d886d9c
commit 56db1c4e7f

View File

@@ -816,7 +816,7 @@ int TWPartitionManager::Run_Backup(void) {
gui_msg(Msg("total_backed_size=[{1} MB TOTAL BACKED UP]")(actual_backup_size));
Update_System_Details();
UnMount_Main_Partitions();
gui_msg(Msg(msg::kHighlight, "backup_completed=[BACKUP COMPLETED IN %s SECONDS]")(total_time)); // the end
gui_msg(Msg(msg::kHighlight, "backup_completed=[BACKUP COMPLETED IN {1} SECONDS]")(total_time)); // the end
string backup_log = Full_Backup_Path + "recovery.log";
TWFunc::copy_file("/tmp/recovery.log", backup_log, 0644);
tw_set_default_metadata(backup_log.c_str());