summaryrefslogtreecommitdiffstats
path: root/twrp.cpp
diff options
context:
space:
mode:
authorKevin Steck <kevinsteck@gmail.com>2013-10-18 00:24:31 +0200
committerDees Troy <dees_troy@teamw.in>2013-10-22 16:03:30 +0200
commit7b69e9d1119f6963b7efddbef8f38af7e468461a (patch)
treee5a96cc4d78436b11c328f7579737e9442c552ff /twrp.cpp
parentFix spelling error (diff)
downloadandroid_bootable_recovery-7b69e9d1119f6963b7efddbef8f38af7e468461a.tar
android_bootable_recovery-7b69e9d1119f6963b7efddbef8f38af7e468461a.tar.gz
android_bootable_recovery-7b69e9d1119f6963b7efddbef8f38af7e468461a.tar.bz2
android_bootable_recovery-7b69e9d1119f6963b7efddbef8f38af7e468461a.tar.lz
android_bootable_recovery-7b69e9d1119f6963b7efddbef8f38af7e468461a.tar.xz
android_bootable_recovery-7b69e9d1119f6963b7efddbef8f38af7e468461a.tar.zst
android_bootable_recovery-7b69e9d1119f6963b7efddbef8f38af7e468461a.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