Skip to content

Commit 0934836

Browse files
Shigeru KANEMOTOffissore
Shigeru KANEMOTO
authored andcommitted
fixed a bug introduced by my rebase after 24bef6b.
1 parent 02447a0 commit 0934836

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

app/src/processing/app/Base.java

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,11 @@ public class Base {
118118
static public void main(String args[]) throws Exception {
119119
initPlatform();
120120

121+
// Portable folder
122+
portableFolder = getContentFile("portable");
123+
if (!portableFolder.exists())
124+
portableFolder = null;
125+
121126
// run static initialization that grabs all the prefs
122127
Preferences.init(null);
123128

@@ -159,13 +164,6 @@ static public void main(String args[]) throws Exception {
159164
}
160165
*/
161166

162-
initPlatform();
163-
164-
// Portable folder
165-
portableFolder = getContentFile("portable");
166-
if (!portableFolder.exists())
167-
portableFolder = null;
168-
169167
// // Set the look and feel before opening the window
170168
// try {
171169
// platform.setLookAndFeel();

0 commit comments

Comments
 (0)