Skip to content

Commit e06d84f

Browse files
author
Eduard Obolenskiy
committed
small fix to mingw64
1 parent d9e0ba8 commit e06d84f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mingwX64Main/kotlin/File.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ actual class File actual constructor(pathname: String) {
6868
throw IllegalFileAccess(pathname, "Directory not accessible for write operations")
6969
}
7070

71-
return SHCreateDirectoryExA(null, getAbsolutePath(), null) == ERROR_SUCCESS
71+
return SHCreateDirectoryExA(null, pathname, null) == ERROR_SUCCESS
7272
}
7373

7474
actual fun mkdirs(): Boolean {

0 commit comments

Comments
 (0)