Fixed an issue with the the --dump-to option, where it would always dump to classes.dump, regardless of the filename provided on the commandline

git-svn-id: https://smali.googlecode.com/svn/trunk@193 55b6fa8a-2a1e-11de-a435-ffa8d773f76a
This commit is contained in:
JesusFreke@JesusFreke.com 2009-06-20 23:45:20 +00:00
parent 2b7d3ebb66
commit cae10ef11f

View File

@ -144,7 +144,7 @@ public class smali
if (dumpFilename != null) { if (dumpFilename != null) {
out.finishAnnotating(); out.finishAnnotating();
FileWriter fileWriter = new FileWriter("classes.dump"); FileWriter fileWriter = new FileWriter(dumpFilename);
out.writeAnnotationsTo(fileWriter); out.writeAnnotationsTo(fileWriter);
fileWriter.close(); fileWriter.close();
} }