Skip to content

Commit 944909f

Browse files
committed
1.34
1 parent e23e535 commit 944909f

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package dev.felnull.fnjl;
22

33
public class FNJLBuildIn {
4-
protected static final String VERSION = "1.33";
4+
protected static final String VERSION = "1.34";
55
}

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
fnjl_group=dev.felnull
22
fnjl_name=felnull-java-library
3-
fnjl_version=1.33
3+
fnjl_version=1.34
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package dev.felnull.fnjln;
22

33
public class FNJLNBuildIn {
4-
protected static final String VERSION = "1.33";
4+
protected static final String VERSION = "1.34";
55

66
protected static final int NATIVE_LIBRARY_VERSION = 1;
77
}

native/src/main/java/dev/felnull/fnjln/jni/windows/WindowsOpenFileName.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ public static File[] open(FNNativeFileChooser fc, long hwnd) {
3030
Path dir = Paths.get(files[0]);
3131
File[] Ffiles = new File[files.length - 1];
3232
for (int i = 0; i < Ffiles.length; i++) {
33-
Ffiles[i] = dir.resolve(files[1 + i]).toFile();
33+
if (!files[1 + i].contains("\0"))
34+
Ffiles[i] = dir.resolve(files[1 + i]).toFile();
3435
}
3536
return Ffiles;
3637
}

0 commit comments

Comments
 (0)