Browse Source

Fixed Typo

Platin21 3 years ago
parent
commit
3edf638cc6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/os/os_darwin.odin

+ 1 - 1
core/os/os_darwin.odin

@@ -472,7 +472,7 @@ rename :: proc(old: string, new: string) -> bool {
 
 
 remove :: proc(path: string) -> bool {
 remove :: proc(path: string) -> bool {
 	path_cstr := strings.clone_to_cstring(path, context.temp_allocator)
 	path_cstr := strings.clone_to_cstring(path, context.temp_allocator)
-	return _unix_remove(path) != -1 
+	return _unix_remove(path_cstr) != -1 
 }
 }
 
 
 @private
 @private