diff options
Diffstat (limited to 'editors/nvi-devel/files/patch-lr-num')
-rw-r--r-- | editors/nvi-devel/files/patch-lr-num | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/editors/nvi-devel/files/patch-lr-num b/editors/nvi-devel/files/patch-lr-num deleted file mode 100644 index acad5ed93860..000000000000 --- a/editors/nvi-devel/files/patch-lr-num +++ /dev/null @@ -1,19 +0,0 @@ -# This fixes an infinite loop in the case of: -# -# :set leftright -# :set number -# -# See PR 28687. Patch has been submitted to maintainer. - -diff -ru nvi-1.81.4.orig/vi/vs_refresh.c nvi-1.81.4/vi/vs_refresh.c ---- nvi-1.81.4.orig/vi/vs_refresh.c Wed Jul 19 10:05:20 2000 -+++ nvi-1.81.4/vi/vs_refresh.c Sat Jul 7 16:11:51 2001 -@@ -573,7 +573,7 @@ - * for the number option offset. - */ - cnt = vs_columns(sp, NULL, LNO, &CNO, NULL); -- if (O_ISSET(sp, O_NUMBER)) -+ if (O_ISSET(sp, O_NUMBER) && cnt >= O_NUMBER_LENGTH) - cnt -= O_NUMBER_LENGTH; - - /* Adjust the window towards the beginning of the line. */ |