Compare commits

...

3 Commits

Author SHA1 Message Date
f2f9e8fd15 updated CHANGELOG.md
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
2025-03-27 10:01:18 -05:00
2a673915af updated CHANGELOG.md 2025-03-27 10:00:06 -05:00
df3db38ae7 letters should be lowercase 2025-03-27 09:58:11 -05:00
2 changed files with 5 additions and 3 deletions

View File

@ -11,6 +11,8 @@
### Changes from v2.0.5-rc ### Changes from v2.0.5-rc
* Drive letters in UI should always be lowercase
## v2.0.5-rc ## v2.0.5-rc
<!-- markdownlint-disable-next-line --> <!-- markdownlint-disable-next-line -->

View File

@ -326,9 +326,9 @@ void handlers::handle_put_mount_location(const httplib::Request &req,
void handlers::handle_get_available_locations(httplib::Response &res) { void handlers::handle_get_available_locations(httplib::Response &res) {
#if defined(_WIN32) #if defined(_WIN32)
constexpr const std::array<std::string_view, 26U> letters{ constexpr const std::array<std::string_view, 26U> letters{
"A:", "B:", "C:", "D:", "E:", "F:", "G:", "H:", "I:", "a:", "b:", "c:", "d:", "e:", "f:", "g:", "h:", "i:",
"J:", "K:", "L:", "M:", "N:", "O:", "P:", "Q:", "R:", "j:", "k:", "l:", "m:", "n:", "o:", "p:", "q:", "r:",
"S:", "T:", "U:", "V:", "W:", "X:", "Y:", "Z:", "s:", "t:", "u:", "v:", "w:", "x:", "y:", "z:",
}; };
auto available = std::accumulate( auto available = std::accumulate(