summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2016-02-23 04:25:51 +0100
committerEthan Yonker <dees_troy@teamw.in>2016-02-24 22:03:25 +0100
commit9a561dd2b36fb0576047648165bca59ac7894d73 (patch)
tree78191ce93424bd1e25ce636d7b57977b471a801e
parentFix storage selection with adopted storage (diff)
downloadandroid_bootable_recovery-9a561dd2b36fb0576047648165bca59ac7894d73.tar
android_bootable_recovery-9a561dd2b36fb0576047648165bca59ac7894d73.tar.gz
android_bootable_recovery-9a561dd2b36fb0576047648165bca59ac7894d73.tar.bz2
android_bootable_recovery-9a561dd2b36fb0576047648165bca59ac7894d73.tar.lz
android_bootable_recovery-9a561dd2b36fb0576047648165bca59ac7894d73.tar.xz
android_bootable_recovery-9a561dd2b36fb0576047648165bca59ac7894d73.tar.zst
android_bootable_recovery-9a561dd2b36fb0576047648165bca59ac7894d73.zip
Diffstat (limited to '')
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index cc090cf4b..e244aac79 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1516,7 +1516,7 @@ TWPartition* TWPartitionManager::Find_Next_Storage(string Path, bool Exclude_Dat
if (!Path.empty()) {
string Search_Path = TWFunc::Get_Root_Path(Path);
for (; iter != Partitions.end(); iter++) {
- if (Exclude_Data_Media && (*iter)->Has_Data_Media) {
+ if ((*iter)->Mount_Point == Search_Path) {
iter++;
break;
}