diff options
author | bigbiff bigbiff <bigbiff@teamw.in> | 2013-09-18 02:01:14 +0200 |
---|---|---|
committer | bigbiff bigbiff <bigbiff@teamw.in> | 2013-09-18 02:01:14 +0200 |
commit | a6c5f4e63325f3a7f653d26aeccb239a35941ed0 (patch) | |
tree | c404e18bc9c8be6d0f5f3f62dba08cf9d4a270e1 | |
parent | Merge "Remove unneeded images" into twrp2.7 (diff) | |
download | android_bootable_recovery-a6c5f4e63325f3a7f653d26aeccb239a35941ed0.tar android_bootable_recovery-a6c5f4e63325f3a7f653d26aeccb239a35941ed0.tar.gz android_bootable_recovery-a6c5f4e63325f3a7f653d26aeccb239a35941ed0.tar.bz2 android_bootable_recovery-a6c5f4e63325f3a7f653d26aeccb239a35941ed0.tar.lz android_bootable_recovery-a6c5f4e63325f3a7f653d26aeccb239a35941ed0.tar.xz android_bootable_recovery-a6c5f4e63325f3a7f653d26aeccb239a35941ed0.tar.zst android_bootable_recovery-a6c5f4e63325f3a7f653d26aeccb239a35941ed0.zip |
Diffstat (limited to '')
-rw-r--r-- | openrecoveryscript.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp index fee6fe9a4..87118bc67 100644 --- a/openrecoveryscript.cpp +++ b/openrecoveryscript.cpp @@ -102,6 +102,8 @@ int OpenRecoveryScript::run_script_file(void) { val_start++; //get rid of space if ((int) *val_start == 51) val_start++; //get rid of = at the beginning + if ((int) *val_start == 32) + val_start++; //get rid of space strncpy(value, val_start, line_len - cindex - remove_nl); LOGINFO("value is: '%s'\n", value); } else { |