Commit 0d9b7b3e authored by Michael Reeves's avatar Michael Reeves

Actually use xOffset in DiffTextWindowData::writeLine

parent 214e2bf4
......@@ -820,7 +820,7 @@ void DiffTextWindowData::writeLine(
int xOffset = leftInfoWidth() * fontWidth - m_horizScrollOffset;
int yOffset = (line - m_firstLine) * fontHeight;
QRect lineRect(0, yOffset, deviceWidth, fontHeight);
QRect lineRect(xOffset, yOffset, deviceWidth, fontHeight);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment