From owner-cvs-all Mon Aug 21 3:21:34 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 7DCC937B423; Mon, 21 Aug 2000 03:21:31 -0700 (PDT) Received: (from sobomax@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id DAA34061; Mon, 21 Aug 2000 03:21:31 -0700 (PDT) (envelope-from sobomax@FreeBSD.org) Message-Id: <200008211021.DAA34061@freefall.freebsd.org> From: Maxim Sobolev Date: Mon, 21 Aug 2000 03:21:31 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/ee ee.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG sobomax 2000/08/21 03:21:31 PDT Modified files: usr.bin/ee ee.c Log: Fix a bug introduced by my own previous commit (addition of the current line/column display). I overlooked that ee(1) doesn't maintain proper line numbering when adding/removing lines, so after those operations linenumber displayed may not match the reality. Also use proper variable for current column diaplay, because the one used previously reflects the offset of current char, which doesn't equial screen position when tabs present. Reviewed by: bp Revision Changes Path 1.19 +19 -4 src/usr.bin/ee/ee.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message