1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 21:17:44 +00:00

Everywhere: Replace a bundle of dbg with dbgln.

These changes are arbitrarily divided into multiple commits to make it
easier to find potentially introduced bugs with git bisect.
This commit is contained in:
asynts 2021-01-12 14:11:44 +01:00 committed by Andreas Kling
parent 6b7602d33b
commit adbb8d62d1
6 changed files with 18 additions and 18 deletions

View file

@ -199,7 +199,7 @@ RefPtr<Font> Font::load_from_file(const StringView& path, unsigned index)
{
auto file_or_error = Core::File::open(String(path), Core::IODevice::ReadOnly);
if (file_or_error.is_error()) {
dbg() << "Could not open file: " << file_or_error.error();
dbgln("Could not open file: {}", file_or_error.error());
return nullptr;
}
auto file = file_or_error.value();