Skip to content

Commit e9db519

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 5de06cc + c710e73 commit e9db519

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

paneline.cpp

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@
1313
// adds text to a line, adds to current style run if possible
1414
void CPaneLine::AddStyle (const CPaneStyle style)
1515
{
16-
// don't need to if no text in style (maybe)
17-
if (style.m_sText.empty ())
18-
return;
16+
// This comment used to say that we didn't need to preserve textless colors,
17+
// but it impacts the accurate preservation of data because servers may send
18+
// color changes just before newlines which _should_ bleed over, but then don't.
19+
// - Fiendish
20+
//if (style.m_sText.empty ())
21+
// return;
1922

2023
// if first style for line, must be a new style
2124
if (m_vStyles.empty ())

0 commit comments

Comments
 (0)