mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 03:58:12 +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
|
@ -528,7 +528,7 @@ static bool decode_png_header(PNGLoadingContext& context)
|
|||
|
||||
if (!context.data || context.data_size < sizeof(png_header)) {
|
||||
#ifdef PNG_DEBUG
|
||||
dbg() << "Missing PNG header";
|
||||
dbgln("Missing PNG header");
|
||||
#endif
|
||||
context.state = PNGLoadingContext::State::Error;
|
||||
return false;
|
||||
|
@ -536,7 +536,7 @@ static bool decode_png_header(PNGLoadingContext& context)
|
|||
|
||||
if (memcmp(context.data, png_header, sizeof(png_header)) != 0) {
|
||||
#ifdef PNG_DEBUG
|
||||
dbg() << "Invalid PNG header";
|
||||
dbgln("Invalid PNG header");
|
||||
#endif
|
||||
context.state = PNGLoadingContext::State::Error;
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue