Skip to content

Commit d16575c

Browse files
committed
MythUI: fix a typo in MythUIText::DrawSelf that could result in an incorrect canvas size.
1 parent 64383c5 commit d16575c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mythtv/libs/libmythui/mythuitext.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ void MythUIText::DrawSelf(MythPainter *p, int xoffset, int yoffset,
362362
{
363363
drawrect.setY(drawrect.y() - m_Ascent);
364364
canvas.setY(canvas.y() + m_Ascent);
365-
canvas.setHeight(canvas.height() + (m_Descent * 2));
365+
canvas.setHeight(canvas.height() + (m_Ascent * 2));
366366
}
367367
if (m_Descent)
368368
{

0 commit comments

Comments
 (0)