fix: use correct new line string for simple code writer
This commit is contained in:
@@ -44,7 +44,7 @@ public class SimpleCodeWriter implements ICodeWriter {
|
||||
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
|
||||
|
||||
@@ -11,6 +11,7 @@ public class SmaliWriter extends SimpleCodeWriter {
|
||||
private final ClassNode cls;
|
||||
|
||||
public SmaliWriter(ClassNode cls) {
|
||||
super(cls.root().getArgs());
|
||||
this.cls = cls;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user