Skip to content

Commit

Permalink
[DEX] Fix: Remove trailing spaces on .sparse-switch smali
Browse files Browse the repository at this point in the history
  • Loading branch information
REAndroid committed Nov 27, 2024
1 parent 5684732 commit f49b14f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/reandroid/dex/ins/InsSparseSwitchData.java
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,8 @@ void toSmaliEntries(SmaliInstruction instruction) {

@Override
public void appendCode(SmaliWriter writer) throws IOException {
getSmaliDirective().append(writer);
writer.append('.');
writer.append(getSmaliDirective().getName());
int size = getCount();
writer.indentPlus();
for(int i = 0; i < size; i++){
Expand Down

0 comments on commit f49b14f

Please sign in to comment.