mirror of
https://github.com/revanced/smali.git
synced 2025-05-05 17:14:25 +02:00
Fixed issue with size calculation in placeValue
git-svn-id: https://smali.googlecode.com/svn/trunk@383 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
parent
ba70af346f
commit
9cbb91a1be
@ -75,7 +75,7 @@ public class ArrayEncodedSubValue extends EncodedValue {
|
||||
|
||||
/** {@inheritDoc} */
|
||||
public int placeValue(int offset) {
|
||||
offset = offset + 1 + Leb128Utils.unsignedLeb128Size(values.length);
|
||||
offset = offset + Leb128Utils.unsignedLeb128Size(values.length);
|
||||
for (EncodedValue encodedValue: values) {
|
||||
offset = encodedValue.placeValue(offset);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user