summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Steck <kevinsteck@gmail.com>2013-10-18 00:24:31 +0200
committerGerrit Code Review <gerrit2@build1>2013-10-24 21:40:22 +0200
commit23f2c39906f42f88adbf8935c0482034dc23e9cf (patch)
tree2fa9a001f47925bae11df9d424e9e33e091dab7b
parentEnsure root folders get added in split archives (diff)
downloadandroid_bootable_recovery-23f2c39906f42f88adbf8935c0482034dc23e9cf.tar
android_bootable_recovery-23f2c39906f42f88adbf8935c0482034dc23e9cf.tar.gz
android_bootable_recovery-23f2c39906f42f88adbf8935c0482034dc23e9cf.tar.bz2
android_bootable_recovery-23f2c39906f42f88adbf8935c0482034dc23e9cf.tar.lz
android_bootable_recovery-23f2c39906f42f88adbf8935c0482034dc23e9cf.tar.xz
android_bootable_recovery-23f2c39906f42f88adbf8935c0482034dc23e9cf.tar.zst
android_bootable_recovery-23f2c39906f42f88adbf8935c0482034dc23e9cf.zip
Diffstat (limited to '')
-rw-r--r--twrp.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/twrp.cpp b/twrp.cpp
index 56ffedb90..82704b51d 100644
--- a/twrp.cpp
+++ b/twrp.cpp
@@ -157,6 +157,9 @@ int main(int argc, char **argv) {
index2 = 0;
while (*ptr != '=' && *ptr != '\n')
ptr++;
+ // skip the = before grabbing Zip_File
+ while (*ptr == '=')
+ ptr++;
if (*ptr) {
Zip_File = ptr;
} else