Fix windows write_directory()

This commit is contained in:
Mark Naughton
2023-05-19 18:53:43 +01:00
parent 018904f0ec
commit 775a488a36

View File

@@ -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,