From 093483602f61a3efb8703373b91c4cfbb835909b Mon Sep 17 00:00:00 2001 From: Shigeru KANEMOTO Date: Wed, 16 Jan 2013 20:25:57 +0900 Subject: [PATCH] fixed a bug introduced by my rebase after 24bef6b. --- app/src/processing/app/Base.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java index 0243a47bf..eb647c707 100644 --- a/app/src/processing/app/Base.java +++ b/app/src/processing/app/Base.java @@ -118,6 +118,11 @@ public class Base { static public void main(String args[]) throws Exception { initPlatform(); + // Portable folder + portableFolder = getContentFile("portable"); + if (!portableFolder.exists()) + portableFolder = null; + // run static initialization that grabs all the prefs Preferences.init(null); @@ -159,13 +164,6 @@ public class Base { } */ - initPlatform(); - - // Portable folder - portableFolder = getContentFile("portable"); - if (!portableFolder.exists()) - portableFolder = null; - // // Set the look and feel before opening the window // try { // platform.setLookAndFeel();