summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2013-08-30 03:01:02 +0200
committerDees_Troy <dees_troy@teamw.in>2013-08-30 04:27:25 +0200
commit72e9554261d2ea4ea883543632350032e789f393 (patch)
treee1a1cd084aa60b9edd07c2e3e1346aa677af6566
parentFix backup list height on 1080x1920 (diff)
downloadandroid_bootable_recovery-72e9554261d2ea4ea883543632350032e789f393.tar
android_bootable_recovery-72e9554261d2ea4ea883543632350032e789f393.tar.gz
android_bootable_recovery-72e9554261d2ea4ea883543632350032e789f393.tar.bz2
android_bootable_recovery-72e9554261d2ea4ea883543632350032e789f393.tar.lz
android_bootable_recovery-72e9554261d2ea4ea883543632350032e789f393.tar.xz
android_bootable_recovery-72e9554261d2ea4ea883543632350032e789f393.tar.zst
android_bootable_recovery-72e9554261d2ea4ea883543632350032e789f393.zip
Diffstat (limited to '')
-rw-r--r--openrecoveryscript.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index f6f63dc0e..bb472bf82 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -98,6 +98,8 @@ int OpenRecoveryScript::run_script_file(void) {
LOGINFO("command is: '%s' and ", command);
val_start = script_line;
val_start += cindex + 1;
+ if ((int) *val_start == 51)
+ val_start++; //get rid of = at the beginning
strncpy(value, val_start, line_len - cindex - remove_nl);
LOGINFO("value is: '%s'\n", value);
} else {