diff options
author | Andreas Kling <kling@serenityos.org> | 2021-05-07 20:44:27 +0200 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-05-07 21:12:09 +0200 |
commit | 840b908c0bdafce29046933bbabb647d32abaf00 (patch) | |
tree | 9a1673d8a5effe757ad8ad6c991e79937a24fa61 /Userland/Applications | |
parent | 8d5eb075d87aecfe4998fc231d5952b10e4ac30b (diff) | |
download | serenity-840b908c0bdafce29046933bbabb647d32abaf00.zip |
Applications: Convert StringBuilder::appendf() => AK::Format
Diffstat (limited to 'Userland/Applications')
-rw-r--r-- | Userland/Applications/PixelPaint/FilterParams.h | 2 | ||||
-rw-r--r-- | Userland/Applications/Spreadsheet/HelpWindow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applications/PixelPaint/FilterParams.h b/Userland/Applications/PixelPaint/FilterParams.h index 232ac8d713..7acb1eb5fc 100644 --- a/Userland/Applications/PixelPaint/FilterParams.h +++ b/Userland/Applications/PixelPaint/FilterParams.h @@ -40,7 +40,7 @@ private: { // FIXME: Help! Make this GUI less ugly. StringBuilder builder; - builder.appendf("%zux%zu", N, N); + builder.appendff("{}x{}", N, N); builder.append(" Convolution"); set_title(builder.string_view()); diff --git a/Userland/Applications/Spreadsheet/HelpWindow.cpp b/Userland/Applications/Spreadsheet/HelpWindow.cpp index 0ee42e3709..25cc3f475a 100644 --- a/Userland/Applications/Spreadsheet/HelpWindow.cpp +++ b/Userland/Applications/Spreadsheet/HelpWindow.cpp @@ -164,7 +164,7 @@ String HelpWindow::render(const StringView& key) if (argc > 0) markdown_builder.appendff("{} required argument(s):\n", argc); else - markdown_builder.appendf("No required arguments.\n"); + markdown_builder.append("No required arguments.\n"); for (size_t i = 0; i < argc; ++i) markdown_builder.appendff("- `{}`\n", argnames.at(i).to_string()); |