mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +00:00
Spreadsheet: Use new format functions.
In a few places I also simplified a few format strings: -outln("{} item{}", items, items.size() == 1 ? ' ' : 's'); +outln("{} item(s)", items); In my opinion this is more readable and in some places it incorrectly wrote '0 item' which is "fixed" now. In other places the placeholder space looked weird.
This commit is contained in:
parent
30ca17e78f
commit
f005548d56
5 changed files with 18 additions and 19 deletions
|
@ -46,7 +46,7 @@ int main(int argc, char* argv[])
|
|||
|
||||
if (filename) {
|
||||
if (!Core::File::exists(filename) || Core::File::is_directory(filename)) {
|
||||
fprintf(stderr, "File does not exist or is a directory: %s\n", filename);
|
||||
warnln("File does not exist or is a directory: {}", filename);
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue