Skip to content

Commit 8687a78

Browse files
bitroncmaglie
authored andcommitted
Removed leftover dependency from SketchCodeDocument in SketchData.
1 parent 061d1f1 commit 8687a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/processing/app/SketchData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ protected void load() throws IOException {
123123
// Don't allow people to use files with invalid names, since on load,
124124
// it would be otherwise possible to sneak in nasty filenames. [0116]
125125
if (BaseNoGui.isSanitaryName(base)) {
126-
addCode(new SketchCodeDocument(new File(folder, filename)));
126+
addCode(new SketchCode(new File(folder, filename)));
127127
} else {
128128
System.err.println(I18n.format("File name {0} is invalid: ignored", filename));
129129
}

0 commit comments

Comments
 (0)