summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-02 21:43:18 +0200
committerTao Bao <tbao@google.com>2018-05-02 21:46:21 +0200
commit1d156b988244660739c56803c87576f0403569ac (patch)
treea687cef952fe46ec15e4d9ea511a67c3bbb4fc5a /recovery.cpp
parentMerge "Add ScreenRecoveryUI::ShowMenu()." (diff)
downloadandroid_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.gz
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.bz2
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.lz
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.xz
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.tar.zst
android_bootable_recovery-1d156b988244660739c56803c87576f0403569ac.zip
Diffstat (limited to 'recovery.cpp')
-rw-r--r--recovery.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/recovery.cpp b/recovery.cpp
index 7e539ce3d..dc2cc085f 100644
--- a/recovery.cpp
+++ b/recovery.cpp
@@ -820,7 +820,7 @@ static void choose_recovery_file(Device* device) {
std::bind(&Device::HandleMenuKey, device, std::placeholders::_1, std::placeholders::_2));
if (entries[chosen_item] == "Back") break;
- ui->ShowFile(entries[chosen_item].c_str());
+ ui->ShowFile(entries[chosen_item]);
}
}