PERFORCE change 78471 for review

Marcel Moolenaar marcel at FreeBSD.org
Sun Jun 12 22:53:09 GMT 2005


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

Change 78471 by marcel at marcel_nfs on 2005/06/12 22:52:13

	Fix the frame-buffer offset calculation for the region
	that we need to clear as part of scrolling the screen.

Affected files ...

.. //depot/projects/tty/sys/dev/vtc/vtc_te.c#4 edit

Differences ...

==== //depot/projects/tty/sys/dev/vtc/vtc_te.c#4 (text+ko) ====

@@ -94,7 +94,8 @@
 		    (lrc - ulc) * cw, (lrr - ulr - hs) * ch);
 
 		vo->vo_bitblt(vo->vo_dev, BITBLT_CTOFB, 0,
-		    (lrr - hs) * ch, (lrc - ulc) * cw, hs * ch);
+		    vo->vo_width * (lrr - hs) * ch + ulc * cw,
+		    (lrc - ulc) * cw, hs * ch);
 	}
 	return (0);
 }


More information about the p4-projects mailing list