We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aaaa821 commit 5b9a4eaCopy full SHA for 5b9a4ea
src/main/java/ch/bildspur/postfx/pass/BasePass.java
@@ -57,16 +57,15 @@ private String getLibPath() {
57
.getPath();
58
59
if (PApplet.platform == PConstants.WINDOWS) {
60
- // remove leading /
+ // remove leading slash in windows path
61
fullJarPath = fullJarPath.substring(1);
62
}
63
64
String jar = Paths.get(fullJarPath).getFileName().toString();
65
66
n1 = path.indexOf(jar);
67
- if (PApplet.platform == PConstants.WINDOWS) { //platform Windows
68
- // In Windows, path string starts with "jar file/C:/..."
69
- // so the substring up to the first / is removed.
+ if (PApplet.platform == PConstants.WINDOWS) {
70
n0++;
71
72
0 commit comments