From cc5fd88be313142d3996c81f8bdfc1290485858c Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 2 Oct 2014 18:38:22 -0500 Subject: Don't use insane (negative) layout values if layout engine does not allocate sufficient space for a text string This resolves Bug 1950 Make most debugging statements work again Add new debugging statements Fix several annoying build warnings --- tdehtml/rendering/render_canvas.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdehtml/rendering/render_canvas.cpp') diff --git a/tdehtml/rendering/render_canvas.cpp b/tdehtml/rendering/render_canvas.cpp index 862f374b2..ab634d760 100644 --- a/tdehtml/rendering/render_canvas.cpp +++ b/tdehtml/rendering/render_canvas.cpp @@ -319,7 +319,7 @@ void RenderCanvas::paint(PaintInfo& paintInfo, int _tx, int _ty) _ty += m_view->contentsY(); } - outlineBox(p, _tx, _ty); + outlineBox(paintInfo.p, _tx, _ty); #endif } -- cgit v1.2.3