diff options
author | Matt Mower <mowerm@gmail.com> | 2016-02-23 04:25:51 +0100 |
---|---|---|
committer | Ethan Yonker <dees_troy@teamw.in> | 2016-02-24 22:03:25 +0100 |
commit | 9a561dd2b36fb0576047648165bca59ac7894d73 (patch) | |
tree | 78191ce93424bd1e25ce636d7b57977b471a801e | |
parent | Fix storage selection with adopted storage (diff) | |
download | android_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.cpp | 2 |
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; } |