[vte] [ring] Don't append fragment text



commit e6e66d4c5733b4c2e5efa686566bde3c76be4212
Author: Behdad Esfahbod <behdad behdad org>
Date:   Fri Sep 18 02:07:06 2009 -0400

    [ring] Don't append fragment text

 src/ring.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/ring.c b/src/ring.c
index b5c9d5e..fe23707 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -163,9 +163,9 @@ _vte_ring_freeze_row (VteRing *ring, guint position, const VteRowData *row)
 				_vte_stream_append (ring->attr_stream, (const char *) &ring->last_attr, sizeof (ring->last_attr));
 				ring->last_attr.attr = attr;
 			}
-		}
 
-		_vte_unistr_append_to_string (cell->c, buffer);
+			_vte_unistr_append_to_string (cell->c, buffer);
+		}
 	}
 	if (!row->attr.soft_wrapped)
 		g_string_append_c (buffer, '\n');



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]