Date: Sat, 27 Dec 2008 22:02:28 GMT From: Ed Schouten <ed@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 155349 for review Message-ID: <200812272202.mBRM2Sxh016696@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=155349 Change 155349 by ed@ed_dull on 2008/12/27 22:01:52 Really fix the crash in do_scroll(). It seems I didn't properly review the changes to scrolling up. Affected files ... .. //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#22 edit Differences ... ==== //depot/projects/mpsafetty/sys/dev/syscons/teken/teken_subr.h#22 (text+ko) ==== @@ -105,13 +105,12 @@ tp.tp_col = 0; teken_funcs_copy(t, &tr, &tp); - tr.tr_end.tp_row = t->t_scrollreg.ts_end - amount; + tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount; } else { - tr.tr_end.tp_row = t->t_scrollreg.ts_begin; + tr.tr_begin.tp_row = t->t_scrollreg.ts_begin; } /* Clear the last lines. */ - tr.tr_begin.tp_row = t->t_scrollreg.ts_end - amount; tr.tr_begin.tp_col = 0; tr.tr_end.tp_row = t->t_scrollreg.ts_end; tr.tr_end.tp_col = t->t_winsize.tp_col;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812272202.mBRM2Sxh016696>