mirror of
https://github.com/processing/processing4.git
synced 2026-02-12 10:00:42 +01:00
tweaks for bugs casey is findin
This commit is contained in:
@@ -332,6 +332,9 @@ public class PdeSketchbook {
|
||||
if (!folder.isDirectory()) return false;
|
||||
|
||||
String list[] = folder.list();
|
||||
// if a bad folder or something like that, this might come back null
|
||||
if (list == null) return false;
|
||||
|
||||
// alphabetize list, since it's not always alpha order
|
||||
// use cheapie bubble-style sort which should be fine
|
||||
// since not a tone of files, and things will mostly be sorted
|
||||
|
||||
Reference in New Issue
Block a user