mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 02:07:36 +00:00
Everywhere: Fix incorrect uses of String::format and StringBuilder::appendf
These changes are arbitrarily divided into multiple commits to make it easier to find potentially introduced bugs with git bisect.
This commit is contained in:
parent
099b83fd28
commit
6d97b623cd
9 changed files with 10 additions and 10 deletions
|
@ -57,7 +57,7 @@ int main(int argc, char** argv)
|
|||
|
||||
for (String filename : filenames) {
|
||||
if (!filename.ends_with(".gz"))
|
||||
filename = String::format("%s.gz", filename);
|
||||
filename = String::format("%s.gz", filename.characters());
|
||||
|
||||
const auto input_filename = filename;
|
||||
const auto output_filename = filename.substring_view(0, filename.length() - 3);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue