Skip to content

Commit 2de206c

Browse files
bitroncmaglie
authored andcommitted
Modified preferences initialization in BaseNoGui.
1 parent 1974d77 commit 2de206c

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Diff for: app/src/processing/app/Base.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static public void main(String args[]) throws Exception {
101101

102102
BaseNoGui.initPortableFolder();
103103

104-
BaseNoGui.prescanParameters(args);
104+
BaseNoGui.initParameters(args);
105105

106106
BaseNoGui.initVersion();
107107
VERSION_NAME = BaseNoGui.VERSION_NAME;

Diff for: app/src/processing/app/BaseNoGui.java

+2-4
Original file line numberDiff line numberDiff line change
@@ -677,9 +677,7 @@ static public void main(String args[]) throws Exception {
677677

678678
initPortableFolder();
679679

680-
PreferencesData.init(null);
681-
682-
prescanParameters(args);
680+
initParameters(args);
683681

684682
init(args);
685683
}
@@ -744,7 +742,7 @@ static public void populateImportToLibraryTable() {
744742
}
745743
}
746744

747-
static public void prescanParameters(String args[]) {
745+
static public void initParameters(String args[]) {
748746
String preferencesFile = null;
749747

750748
// Do a first pass over the commandline arguments, the rest of them

0 commit comments

Comments
 (0)