diff options
| author | Daniel Gavin <danielgavin5@hotmail.com> | 2022-04-28 00:04:10 +0200 |
|---|---|---|
| committer | Daniel Gavin <danielgavin5@hotmail.com> | 2022-04-28 00:04:10 +0200 |
| commit | 485285ee58c3c3ef3bd09a1d8cd4232d2dfa1917 (patch) | |
| tree | e7ff6cccf501a1f7098af6a4ce6e18d2d3681ee9 /src/common | |
| parent | 02d0c0bec7a51dfa2dbdb87c9f34b8216ba83676 (diff) | |
remove the lower case for windows.
Diffstat (limited to 'src/common')
| -rw-r--r-- | src/common/uri.odin | 6 |
1 files changed, 1 insertions, 5 deletions
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:] |