Skip to content

Commit

Permalink
fix: use correct new line string for simple code writer
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Apr 20, 2024
1 parent be25cbf commit bc70f8e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public SimpleCodeWriter(JadxArgs args) {
public SimpleCodeWriter() {
this.insertLineNumbers = false;
this.singleIndentStr = JadxArgs.DEFAULT_INDENT_STR;
this.newLineStr = JadxArgs.DEFAULT_INDENT_STR;
this.newLineStr = JadxArgs.DEFAULT_NEW_LINE_STR;
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ public class SmaliWriter extends SimpleCodeWriter {
private final ClassNode cls;

public SmaliWriter(ClassNode cls) {
super(cls.root().getArgs());
this.cls = cls;
}

Expand Down

0 comments on commit bc70f8e

Please sign in to comment.