Fixed formatting

This commit is contained in:
Bartek Kryza
2023-01-16 23:47:14 +01:00
parent c49053dcf2
commit bdf55d45b7
3 changed files with 4 additions and 4 deletions

View File

@@ -311,8 +311,8 @@ std::string path_to_url(const std::filesystem::path &p)
#ifdef _MSC_VER #ifdef _MSC_VER
// On Windows convert the root path using its drive letter, e.g.: // On Windows convert the root path using its drive letter, e.g.:
// C:\A\B\include.h -> /c/A/B/include.h // C:\A\B\include.h -> /c/A/B/include.h
if(p.root_name().string().size() > 1) { if (p.root_name().string().size() > 1) {
if(p.is_absolute()) { if (p.is_absolute()) {
path_tokens.push_back(std::string{ path_tokens.push_back(std::string{
std::tolower(p.root_name().string().at(0), std::locale())}); std::tolower(p.root_name().string().at(0), std::locale())});
} }