mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 04:58:13 +00:00
LibAudio: Use new format functions.
This commit is contained in:
parent
80e23d1b98
commit
805ed03b48
2 changed files with 16 additions and 16 deletions
|
@ -53,7 +53,7 @@ void WavWriter::set_file(const StringView& path)
|
|||
{
|
||||
m_file = Core::File::construct(path);
|
||||
if (!m_file->open(Core::IODevice::ReadWrite)) {
|
||||
m_error_string = String::format("Can't open file: %s", m_file->error_string());
|
||||
m_error_string = String::formatted("Can't open file: {}", m_file->error_string());
|
||||
return;
|
||||
}
|
||||
m_file->seek(44);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue