mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-10 18:10:56 +09:00
LibC: Fix some incorrect printf usages
This commit is contained in:
parent
6b01d1cf14
commit
d780e2265d
Notes:
sideshowbarker
2024-07-19 00:35:53 +09:00
Author: https://github.com/ccapitalK
Commit: d780e2265d
Pull-request: https://github.com/SerenityOS/serenity/pull/4532
Reviewed-by: https://github.com/ADKaster
10 changed files with 19 additions and 19 deletions
|
@ -34,7 +34,7 @@ String generate_only_additions(const String& text)
|
|||
{
|
||||
auto lines = text.split('\n', true); // Keep empty
|
||||
StringBuilder builder;
|
||||
builder.appendf("@@ -1,%u +1,%u @@\n", lines.size());
|
||||
builder.appendf("@@ -1,%zu +1,%zu @@\n", lines.size());
|
||||
for (const auto& line : lines) {
|
||||
builder.appendf("+%s\n", line.characters());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue