summaryrefslogtreecommitdiffstats
path: root/recovery.cpp
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2018-05-02 23:28:19 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-05-02 23:28:19 +0200
commit738a4258d82445d4915d31d915449779a7e128bf (patch)
treea687cef952fe46ec15e4d9ea511a67c3bbb4fc5a /recovery.cpp
parentMerge "Add ScreenRecoveryUI::ShowMenu()." (diff)
parentscreen_ui: Drop the dependency on common.h. (diff)
downloadandroid_bootable_recovery-738a4258d82445d4915d31d915449779a7e128bf.tar
android_bootable_recovery-738a4258d82445d4915d31d915449779a7e128bf.tar.gz
android_bootable_recovery-738a4258d82445d4915d31d915449779a7e128bf.tar.bz2
android_bootable_recovery-738a4258d82445d4915d31d915449779a7e128bf.tar.lz
android_bootable_recovery-738a4258d82445d4915d31d915449779a7e128bf.tar.xz
android_bootable_recovery-738a4258d82445d4915d31d915449779a7e128bf.tar.zst
android_bootable_recovery-738a4258d82445d4915d31d915449779a7e128bf.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]);
}
}