vte r2326 - in trunk: . src



Author: behdad
Date: Fri Dec  5 17:53:49 2008
New Revision: 2326
URL: http://svn.gnome.org/viewvc/vte?rev=2326&view=rev

Log:
2008-12-05  Behdad Esfahbod  <behdad gnome org>

        Red Hat Bug 474618 -  gnome-terminal sometime leaves empty begining
        of the line

        * src/vte.c (_vte_terminal_insert_char): Really fix the bug this time.



Modified:
   trunk/ChangeLog
   trunk/src/vte.c

Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c	(original)
+++ trunk/src/vte.c	Fri Dec  5 17:53:49 2008
@@ -3139,6 +3139,9 @@
 	/* Make sure we have enough rows to hold this data. */
 	row = vte_terminal_ensure_cursor (terminal);
 	g_assert(row != NULL);
+
+	_vte_terminal_cleanup_tab_fragments_at_cursor (terminal);
+
 	if (insert) {
 		for (i = 0; i < columns; i++)
 			g_array_insert_val(row->cells, col + i,
@@ -3149,8 +3152,6 @@
 		}
 	}
 
-	_vte_terminal_cleanup_tab_fragments_at_cursor (terminal);
-
 	/* Convert any wide characters we may have broken into single
 	 * cells. (#514632) */
 	if (col > 0) {



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