File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,6 @@ static protected void init(String commandLinePrefs) {
213
213
}
214
214
215
215
// set some runtime constants (not saved on preferences file)
216
- table .put ("runtime.os" , PConstants .platformNames [PApplet .platform ]);
217
216
File hardwareFolder = Base .getHardwareFolder ();
218
217
table .put ("runtime.hardware.path" , hardwareFolder .getAbsolutePath ());
219
218
table .put ("runtime.ide.path" , hardwareFolder .getParentFile ().getAbsolutePath ());
@@ -277,6 +276,9 @@ static protected void init(String commandLinePrefs) {
277
276
// load the I18n module for internationalization
278
277
I18n .init (Preferences .get ("editor.languages.current" ));
279
278
279
+ // set some other runtime constants (not saved on preferences file)
280
+ table .put ("runtime.os" , PConstants .platformNames [PApplet .platform ]);
281
+
280
282
// other things that have to be set explicitly for the defaults
281
283
setColor ("run.window.bgcolor" , SystemColor .control );
282
284
}
You can’t perform that action at this time.
0 commit comments