[Patchanim-commit] SF.net SVN: patchanim: [132] trunk/patchanim/src/com/mebigfatguy/patchanim/ io/P
Brought to you by:
dbrosius
From: <dbr...@us...> - 2008-02-10 05:32:05
|
Revision: 132 http://patchanim.svn.sourceforge.net/patchanim/?rev=132&view=rev Author: dbrosius Date: 2008-02-09 21:32:10 -0800 (Sat, 09 Feb 2008) Log Message: ----------- fix multi file names Modified Paths: -------------- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java Modified: trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java =================================================================== --- trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java 2008-02-10 05:29:53 UTC (rev 131) +++ trunk/patchanim/src/com/mebigfatguy/patchanim/io/PatchExporter.java 2008-02-10 05:32:10 UTC (rev 132) @@ -140,7 +140,8 @@ private void writeSingleFile(BufferedImage image, int index, File dir, String baseName, ExportType type) throws IOException { NumberFormat nf = NumberFormat.getIntegerInstance(); - nf.setMinimumIntegerDigits(6); + nf.setMinimumIntegerDigits(5); + nf.setGroupingUsed(false); String name = baseName + "_" + nf.format(index) + "." + type.getExtension(); File imageFile = new File(dir, name); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |