commit | 23f2c39906f42f88adbf8935c0482034dc23e9cf | [log] [tgz] |
---|---|---|
author | Kevin Steck <kevinsteck@gmail.com> | Thu Oct 17 18:24:31 2013 -0400 |
committer | Gerrit Code Review <gerrit2@build1> | Thu Oct 24 20:40:22 2013 +0100 |
tree | 2fa9a001f47925bae11df9d424e9e33e091dab7b | |
parent | f4766921d4865c71c5f93b6bcc45527172934446 [diff] |
Skip the = or \n before grabbing Zip_File. Change-Id: I0454f8fc3cbe037fac63ef5861f8f373e4654d49
diff --git a/twrp.cpp b/twrp.cpp index 56ffedb..82704b5 100644 --- a/twrp.cpp +++ b/twrp.cpp
@@ -157,6 +157,9 @@ index2 = 0; while (*ptr != '=' && *ptr != '\n') ptr++; + // skip the = before grabbing Zip_File + while (*ptr == '=') + ptr++; if (*ptr) { Zip_File = ptr; } else