From owner-p4-projects@FreeBSD.ORG Sun Jun 12 22:53:08 2005 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 435C616A420; Sun, 12 Jun 2005 22:53:08 +0000 (GMT) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1A63116A41C for ; Sun, 12 Jun 2005 22:53:08 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D6FB743D1D for ; Sun, 12 Jun 2005 22:53:07 +0000 (GMT) (envelope-from marcel@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j5CMr7NU020817 for ; Sun, 12 Jun 2005 22:53:07 GMT (envelope-from marcel@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j5CMr7aH020814 for perforce@freebsd.org; Sun, 12 Jun 2005 22:53:07 GMT (envelope-from marcel@freebsd.org) Date: Sun, 12 Jun 2005 22:53:07 GMT Message-Id: <200506122253.j5CMr7aH020814@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to marcel@freebsd.org using -f From: Marcel Moolenaar To: Perforce Change Reviews Cc: Subject: PERFORCE change 78471 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Jun 2005 22:53:09 -0000 http://perforce.freebsd.org/chv.cgi?CH=78471 Change 78471 by marcel@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); }