mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 07:45:07 +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
|
@ -63,14 +63,14 @@ OwnPtr<Messages::ImageDecoderServer::DecodeImageResponse> ClientConnection::hand
|
|||
auto encoded_buffer = SharedBuffer::create_from_shbuf_id(message.encoded_shbuf_id());
|
||||
if (!encoded_buffer) {
|
||||
#ifdef IMAGE_DECODER_DEBUG
|
||||
dbg() << "Could not map encoded data buffer";
|
||||
dbgln("Could not map encoded data buffer");
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
if (message.encoded_size() > (size_t)encoded_buffer->size()) {
|
||||
#ifdef IMAGE_DECODER_DEBUG
|
||||
dbg() << "Encoded buffer is smaller than encoded size";
|
||||
dbgln("Encoded buffer is smaller than encoded size");
|
||||
#endif
|
||||
return nullptr;
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ OwnPtr<Messages::ImageDecoderServer::DecodeImageResponse> ClientConnection::hand
|
|||
|
||||
if (!bitmap) {
|
||||
#ifdef IMAGE_DECODER_DEBUG
|
||||
dbg() << "Could not decode image from encoded data";
|
||||
dbgln("Could not decode image from encoded data");
|
||||
#endif
|
||||
return make<Messages::ImageDecoderServer::DecodeImageResponse>(-1, Gfx::IntSize(), (i32)Gfx::BitmapFormat::Invalid, Vector<u32>());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue