mirror of
https://github.com/odin-lang/Odin.git
synced 2026-02-24 20:04:57 +00:00
Merge pull request #907 from awwdev/fix-variable-name-in-path_unix
fix variable name in path_unix
This commit is contained in:
@@ -34,8 +34,8 @@ abs :: proc(path: string, allocator := context.allocator) -> (string, bool) {
|
||||
defer _unix_free(path_ptr);
|
||||
|
||||
path_cstr := cstring(path_ptr);
|
||||
path = strings.clone(string(path_cstr), allocator);
|
||||
return path, true;
|
||||
path_str := strings.clone(string(path_cstr), allocator);
|
||||
return path_str, true;
|
||||
}
|
||||
|
||||
join :: proc(elems: ..string, allocator := context.allocator) -> string {
|
||||
|
||||
Reference in New Issue
Block a user