From 2cf49d9cda4ec5ab480d71da3da37ee2b71fc6f4 Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Thu, 27 Oct 2022 00:49:24 +0200 Subject: fallback on returning the original text --- src/common/util_windows.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/common/util_windows.odin b/src/common/util_windows.odin index 39332ed..691fcab 100644 --- a/src/common/util_windows.odin +++ b/src/common/util_windows.odin @@ -37,7 +37,7 @@ get_case_sensitive_path :: proc( if (file == win32.INVALID_HANDLE) { log.errorf("Failed on get_case_sensitive_path(%v)", path) log_last_error() - return "" + return path } buffer := make([]u16, 512, context.temp_allocator) -- cgit v1.2.3