mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Fix windows write_directory()
This commit is contained in:
+1
-1
@@ -437,7 +437,7 @@ gb_internal bool write_directory(String path) {
|
|||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
gb_internal bool write_directory(String path) {
|
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;
|
LPCWSTR wdirectory_name = wstr.text;
|
||||||
|
|
||||||
HANDLE directory = CreateFileW(wdirectory_name,
|
HANDLE directory = CreateFileW(wdirectory_name,
|
||||||
|
|||||||
Reference in New Issue
Block a user