Skip to content

Commit

Permalink
fix: correct code line number calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
skylot committed Oct 29, 2018
1 parent 6b3e8f0 commit 1d7bb43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jadx-core/src/main/java/jadx/core/codegen/ClassGen.java
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ private void insertDecompilationProblems(CodeWriter code, AttrNode node) {
});
}
if (!warns.isEmpty()) {
warns.forEach(warn -> code.startLine("/* JADX WARNING: ").add(warn.getWarn()).add(" */"));
warns.forEach(warn -> code.startLine("/* JADX WARNING: ").addMultiLine(warn.getWarn()).add(" */"));
}
}

Expand Down

0 comments on commit 1d7bb43

Please sign in to comment.