]> git.pld-linux.org Git - packages/less.git/commitdiff
- fix line numbering (less -N filename), caused by ...
authorkloczek <kloczek@pld-linux.org>
Sat, 18 Jan 2003 16:09:24 +0000 (16:09 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    less-number.patch -> 1.1

less-number.patch [new file with mode: 0644]

diff --git a/less-number.patch b/less-number.patch
new file mode 100644 (file)
index 0000000..f62caac
--- /dev/null
@@ -0,0 +1,13 @@
+--- less-358/line.c.num        Fri Oct  5 06:02:45 2001
++++ less-358/line.c    Fri Oct  5 06:03:22 2001
+@@ -153,8 +153,10 @@
+               sprintf(&linebuf[curr], "%*d", LINENUM_WIDTH, lno);
+               column += LINENUM_WIDTH;
+               for (i = 0;  i < LINENUM_WIDTH;  i++)
++              {
+                       charset[curr] = ASCII;
+                       attr[curr++] = AT_NORMAL;
++              }
+       }
+       /*
+        * Append enough spaces to bring us to the lmargin.
This page took 0.123268 seconds and 4 git commands to generate.