Skip to content

Commit 5b9a4ea

Browse files
committed
updated comments #25
1 parent aaaa821 commit 5b9a4ea

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/main/java/ch/bildspur/postfx/pass/BasePass.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,16 +57,15 @@ private String getLibPath() {
5757
.getPath();
5858

5959
if (PApplet.platform == PConstants.WINDOWS) {
60-
// remove leading /
60+
// remove leading slash in windows path
6161
fullJarPath = fullJarPath.substring(1);
6262
}
6363

6464
String jar = Paths.get(fullJarPath).getFileName().toString();
6565

6666
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.
67+
if (PApplet.platform == PConstants.WINDOWS) {
68+
// remove leading slash in windows path
7069
n0++;
7170
}
7271

0 commit comments

Comments
 (0)