Skip to content

Commit 99c6eea

Browse files
committed
Fixed bug where ColourNote during omit from output would jumble text
1 parent 171eaa3 commit 99c6eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ProcessPreviousLine.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -724,7 +724,7 @@ assemble the full text of the original line.
724724
GetStyleRGB (pStyle, cText, cBack);
725725

726726
m_OutstandingLines.push_front (CPaneStyle ((const char *)
727-
strLine.Mid (iCol, pStyle->iLength),
727+
strLine.Mid (pLine->len - pStyle->iLength - iCol, pStyle->iLength),
728728
cText, cBack, pStyle->iFlags & 7));
729729
iCol += pStyle->iLength; // new column
730730
} // end of each style

0 commit comments

Comments
 (0)