forked from metin-server/m2dev-client-src
MRMJ-1: Messenger & Skills fixes
This commit is contained in:
@@ -65,6 +65,10 @@ int main(int argc, char* argv[])
|
|||||||
rp_str = (std::filesystem::path("d:/ymir work/") / rp_str.substr(ymir_work_prefix.size())).generic_string();
|
rp_str = (std::filesystem::path("d:/ymir work/") / rp_str.substr(ymir_work_prefix.size())).generic_string();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::transform(rp_str.begin(), rp_str.end(), rp_str.begin(), [](unsigned char c) {
|
||||||
|
return static_cast<char>(std::tolower(c));
|
||||||
|
});
|
||||||
|
|
||||||
rp_str.copy(file_entry.file_name, sizeof(file_entry.file_name) - 1);
|
rp_str.copy(file_entry.file_name, sizeof(file_entry.file_name) - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user