From b110153b5112e926320c4895186a7d85fa7d6ac8 Mon Sep 17 00:00:00 2001 From: jockus Date: Thu, 27 May 2021 12:04:24 +0100 Subject: [PATCH] Fix accidental removal of newline --- core/path/filepath/path.odin | 1 + 1 file changed, 1 insertion(+) diff --git a/core/path/filepath/path.odin b/core/path/filepath/path.odin index 51ce016ca..9f1719f3b 100644 --- a/core/path/filepath/path.odin +++ b/core/path/filepath/path.odin @@ -215,6 +215,7 @@ rel :: proc(base_path, target_path: string, allocator := context.allocator) -> ( } delete(base_clean); } + if strings.equal_fold(target_clean, base_clean) { return strings.clone("."), .None; }