commit | 2c4c26f43db2ae8a58f7e6e5b5ba08ad65dba119 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Mon Jan 28 15:26:43 2013 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Mon Jan 28 15:26:43 2013 +0000 |
tree | fe55d449b6b4ec1ab7c2713288f01dd85eef7143 | |
parent | ca829c4b81bfcdb7ea676694c5cfd0b79ccbb646 [diff] |
Fix subpartitionof flag
diff --git a/partition.cpp b/partition.cpp index c532fa8..e419579 100644 --- a/partition.cpp +++ b/partition.cpp
@@ -349,7 +349,7 @@ Wipe_Available_in_GUI = true; Wipe_During_Factory_Reset = true; } else if (strlen(ptr) > 15 && strncmp(ptr, "subpartitionof=", 15) == 0) { - ptr += 13; + ptr += 15; Is_SubPartition = true; SubPartition_Of = ptr; } else if (strcmp(ptr, "ignoreblkid") == 0) {