summaryrefslogtreecommitdiffstats
path: root/tdehtml/rendering/render_canvas.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2014-10-02 18:38:22 -0500
committerTimothy Pearson <[email protected]>2014-10-02 18:40:04 -0500
commitcc5fd88be313142d3996c81f8bdfc1290485858c (patch)
tree36c6e1eef900d0ef1aa05e96d786194b4c5674d9 /tdehtml/rendering/render_canvas.cpp
parent2c850d93a7803e435504fe9c982cb974695d7a3b (diff)
downloadtdelibs-cc5fd88be313142d3996c81f8bdfc1290485858c.tar.gz
tdelibs-cc5fd88be313142d3996c81f8bdfc1290485858c.zip
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
Diffstat (limited to 'tdehtml/rendering/render_canvas.cpp')
-rw-r--r--tdehtml/rendering/render_canvas.cpp2
1 files changed, 1 insertions, 1 deletions
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
}