rename Bcat -> BCAT, rename bcat folder to BCAT, better impl for stripping leading '/' for zip_add.

This commit is contained in:
ITotalJustice
2025-06-07 20:27:36 +01:00
parent b03ad4ade3
commit ec1042efa3
2 changed files with 10 additions and 31 deletions

View File

@@ -813,7 +813,7 @@ void FsView::ZipFiles(fs::FsPath zip_out) {
}
// root paths are banned in zips, they will warn when extracting otherwise.
if (file_name_in_zip[0] == '/') {
while (file_name_in_zip[0] == '/') {
file_name_in_zip++;
}