PERFORCE change 154176 for review

Ed Schouten ed at FreeBSD.org
Sat Dec 6 02:42:18 PST 2008


http://perforce.freebsd.org/chv.cgi?CH=154176

Change 154176 by ed at ed_flippo on 2008/12/06 10:41:20

	Fix backspace handling on first column.

Affected files ...

.. //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#3 edit

Differences ...

==== //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#3 (text+ko) ====

@@ -197,10 +197,8 @@
 	if (t->t_nextchar.tp_row > 0 &&
 	    (t->t_nextchar.tp_col % t->t_winsize.tp_col) == 0) {
 		t->t_nextchar.tp_row--;
-		t->t_nextchar.tp_col -= 2;
-	} else {
-		t->t_nextchar.tp_col--;
 	}
+	t->t_nextchar.tp_col--;
 
 	/* Sync cursor position again. */
 	t->t_cursor.tp_row = t->t_nextchar.tp_row;


More information about the p4-projects mailing list