aboutsummaryrefslogtreecommitdiff
path: root/core/path/filepath/path.odin
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2021-06-14 11:15:25 +0100
committergingerBill <bill@gingerbill.org>2021-06-14 11:15:25 +0100
commit86649e6b44877df3c5d0b81ed2f97aaa063a6f1d (patch)
tree700029b1021d4702e4877dd0c0355d3443df3865 /core/path/filepath/path.odin
parent3ca887a60ae1e681fd441edfe17805df97b6d6a3 (diff)
Core library clean up: Make range expressions more consistent and replace uses of `..` with `..=`
Diffstat (limited to 'core/path/filepath/path.odin')
-rw-r--r--core/path/filepath/path.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/path/filepath/path.odin b/core/path/filepath/path.odin
index 33ea5541c..7dd7484f0 100644
--- a/core/path/filepath/path.odin
+++ b/core/path/filepath/path.odin
@@ -39,7 +39,7 @@ volume_name_len :: proc(path: string) -> int {
c := path[0];
if path[1] == ':' {
switch c {
- case 'a'..'z', 'A'..'Z':
+ case 'a'..='z', 'A'..='Z':
return 2;
}
}