sanitizing of sketch names to their legit equivalents, also on

PdeSketchbook.rebuildMenu()
This commit is contained in:
benfry
2004-06-22 02:55:34 +00:00
parent c3a91a8a15
commit 5b1388f6ea
4 changed files with 86 additions and 12 deletions

View File

@@ -321,6 +321,7 @@ public class PdeSketch {
// user cancelled selection
if (newName == null) return false;
newName = PdeSketchbook.sanitizeName(newName);
// new sketch folder
File newFolder = new File(newParentDir, newName);