1 From 891c4022e24063608b554b6b3e4b5e2533e5443b Mon Sep 17 00:00:00 2001
2 From: n-t-roff <troff@arcor.de>
3 Date: Fri, 22 Apr 2016 19:08:05 +0200
4 Subject: [PATCH] set nu bug fixed
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 diff --git a/ex_put.c b/ex_put.c
11 index fb7446e..0760747 100644
14 @@ -298,7 +298,7 @@ normline(int unused, int max)
19 + vcntcol = value(NUMBER) << 3;
22 /* pdp-11 doprnt is not reentrant so can't use "printf" here
24 From ad7f1e567324494021135bd2ec680b656a3f1cab Mon Sep 17 00:00:00 2001
25 From: n-t-roff <troff@arcor.de>
26 Date: Wed, 27 Jul 2016 18:58:47 +0200
27 Subject: [PATCH] Number mode command line bugfix
29 The prev. number mode bugfix did introduce a bug in the command line
30 cursor position when using backspace in number mode. Should be
34 1 file changed, 3 insertions(+), 2 deletions(-)
36 diff --git a/ex_put.c b/ex_put.c
37 index 26236d4..09ad403 100644
40 @@ -277,9 +277,12 @@ int
41 numbline(int i, int max)
44 + extern short vcntcol;
47 max -= printf("%6d ", i);
49 + vcntcol = value(NUMBER) << 3;
50 return normline(0, max);
53 @@ -297,8 +300,6 @@ normline(int unused, int max)
58 - vcntcol = value(NUMBER) << 3;
61 /* pdp-11 doprnt is not reentrant so can't use "printf" here