summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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