mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 17:34:59 +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.Everything: The modifications in this commit were automatically made using the following command: find . -name '*.cpp' -exec sed -i -E 's/dbg\(\) << ("[^"{]*");/dbgln\(\1\);/' {} \;
This commit is contained in:
parent
40b8e21115
commit
938e5c7719
95 changed files with 331 additions and 331 deletions
|
@ -53,7 +53,7 @@ RefPtr<Gfx::Bitmap> Client::decode_image(const ByteBuffer& encoded_data)
|
|||
|
||||
auto encoded_buffer = SharedBuffer::create_with_size(encoded_data.size());
|
||||
if (!encoded_buffer) {
|
||||
dbg() << "Could not allocate encoded shbuf";
|
||||
dbgln("Could not allocate encoded shbuf");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
@ -66,13 +66,13 @@ RefPtr<Gfx::Bitmap> Client::decode_image(const ByteBuffer& encoded_data)
|
|||
auto bitmap_format = (Gfx::BitmapFormat)response->bitmap_format();
|
||||
if (bitmap_format == Gfx::BitmapFormat::Invalid) {
|
||||
#ifdef IMAGE_DECODER_CLIENT_DEBUG
|
||||
dbg() << "Response image was invalid";
|
||||
dbgln("Response image was invalid");
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (response->size().is_empty()) {
|
||||
dbg() << "Response image was empty";
|
||||
dbgln("Response image was empty");
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue