mirror of
https://github.com/odin-lang/Odin.git
synced 2026-10-12 01:36:22 -04:00
Fix windows write_directory()
This commit is contained in:
1 parent
018904f0ec
commit
775a488a36
1 file changed
+1
-1
+1
-1
@@ -437,7 +437,7 @@ gb_internal bool write_directory(String path) {
|
||||
}
|
||||
#else
|
||||
gb_internal bool write_directory(String path) {
|
||||
String16wstr = string_to_string16(heap_allocator(), path);
|
||||
String16 wstr = string_to_string16(heap_allocator(), path);
|
||||
LPCWSTR wdirectory_name = wstr.text;
|
||||
|
||||
HANDLE directory = CreateFileW(wdirectory_name,
|
||||
|
||||
Reference in new issue
Block a user