mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-22 01:08:56 +00:00
Utilities: Convert StringBuilder::appendf() => AK::Format
This commit is contained in:
parent
e2ffd14e4e
commit
977fa4df81
Notes:
sideshowbarker
2024-07-18 18:35:06 +09:00
Author: https://github.com/awesomekling
Commit: 977fa4df81
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ int main()
|
|||
if (stat(tty.characters(), &st) == 0) {
|
||||
auto idle_time = now - st.st_mtime;
|
||||
if (idle_time >= 0) {
|
||||
builder.appendf("%" PRIi64 "s", idle_time);
|
||||
builder.appendff("{}s", idle_time);
|
||||
idle_string = builder.to_string();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue