summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-01-19 22:44:09 +0000
committerMike Frysinger <vapier@gentoo.org>2006-01-19 22:44:09 +0000
commit04957c8a9e216c17491e18b8615cbd50772a901e (patch)
treee6b7bd78734fab3d8d1e6ecc7705a30708d9a6e0 /app-editors
parentAdd net-print/foomatic-filters to RDEPEND for bug 94368 (diff)
downloadgentoo-2-04957c8a9e216c17491e18b8615cbd50772a901e.tar.gz
gentoo-2-04957c8a9e216c17491e18b8615cbd50772a901e.tar.bz2
gentoo-2-04957c8a9e216c17491e18b8615cbd50772a901e.zip
add back in patch that wasnt supposed to be cut [yet] #119571
(Portage version: 2.1_pre3-r1)
Diffstat (limited to 'app-editors')
-rw-r--r--app-editors/nano/files/nano-1.3.10-disp.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/app-editors/nano/files/nano-1.3.10-disp.patch b/app-editors/nano/files/nano-1.3.10-disp.patch
new file mode 100644
index 000000000000..01201c37fd3f
--- /dev/null
+++ b/app-editors/nano/files/nano-1.3.10-disp.patch
@@ -0,0 +1,18 @@
+http://lists.gnu.org/archive/html/nano-devel/2006-01/msg00000.html
+http://lists.gnu.org/archive/html/nano-devel/2006-01/msg00001.html
+
+diff -ur nano-1.3.10/src/winio.c nano-1.3.10-fixed/src/winio.c
+--- nano-1.3.10/src/winio.c 2005-12-08 02:24:54.000000000 -0500
++++ nano-1.3.10-fixed/src/winio.c 2006-01-10 03:10:14.000000000 -0500
+@@ -2772,6 +2772,11 @@
+
+ openfile->edittop = old_edittop;
+
++ /* Update old_current if we're not on the first page and/or
++ * we're not on the same page as before. */
++ if (do_redraw)
++ update_line(old_current, 0);
++
+ /* Scroll the edit window up or down until edittop is in range
+ * of current. */
+ if (nlines < 0)