1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-29 06:55: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.
This commit is contained in:
asynts 2021-01-17 18:17:00 +01:00 committed by Andreas Kling
parent 7d783d8b84
commit 3f23a58fa1
9 changed files with 97 additions and 70 deletions

View file

@ -24,6 +24,7 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include <AK/Debug.h>
#include <AK/StringBuilder.h>
#include <LibGfx/Painter.h>
#include <LibGfx/Path.h>
@ -33,8 +34,6 @@
#include <LibWeb/SVG/SVGPathElement.h>
#include <ctype.h>
//#define PATH_DEBUG
namespace Web::SVG {
#ifdef PATH_DEBUG
@ -136,7 +135,7 @@ void PathDataParser::parse_drawto()
} else if (match('A') || match('a')) {
parse_elliptical_arc();
} else {
dbg() << "PathDataParser::parse_drawto failed to match: '" << ch() << "'";
dbgln("PathDataParser::parse_drawto failed to match: '{}'", ch());
TODO();
}
}