Skip to content

Commit 49988e9

Browse files
committed
Use forward slashes on Windows
1 parent da5092e commit 49988e9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

app/src/processing/app/Preferences.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -393,6 +393,8 @@ static public String getSketchbookPath() {
393393

394394

395395
static protected void setSketchbookPath(String path) {
396+
// Unify path seperator for all platforms
397+
path = path.replace(File.separatorChar, '/');
396398
set("sketchbook.path.four", path); //$NON-NLS-1$
397399
}
398400
}

0 commit comments

Comments
 (0)