From 485285ee58c3c3ef3bd09a1d8cd4232d2dfa1917 Mon Sep 17 00:00:00 2001 From: Daniel Gavin Date: Thu, 28 Apr 2022 00:04:10 +0200 Subject: remove the lower case for windows. --- src/common/uri.odin | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/common') diff --git a/src/common/uri.odin b/src/common/uri.odin index de16d20..a9cdc14 100644 --- a/src/common/uri.odin +++ b/src/common/uri.odin @@ -37,11 +37,7 @@ parse_uri :: proc(value: string, allocator: mem.Allocator) -> (Uri, bool) { start_index -= 1 } - when ODIN_OS == .Windows { - uri.uri = strings.clone(strings.to_lower(value, context.temp_allocator), allocator) - } else { - uri.uri = strings.clone(value, allocator) - } + uri.uri = strings.clone(value, allocator) uri.decode_full = decoded uri.path = decoded[start_index:] -- cgit v1.2.3