commit | 7b69e9d1119f6963b7efddbef8f38af7e468461a | [log] [tgz] |
---|---|---|
author | Kevin Steck <kevinsteck@gmail.com> | Thu Oct 17 18:24:31 2013 -0400 |
committer | Dees Troy <dees_troy@teamw.in> | Tue Oct 22 14:03:30 2013 +0000 |
tree | e5a96cc4d78436b11c328f7579737e9442c552ff | |
parent | d932ce1b99dee85feb788c513acad3384af6459e [diff] [blame] |
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