summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <mvath@google.com>2019-02-23 15:24:34 +0100
committerMartin Väth <mvath@google.com>2019-02-23 15:24:34 +0100
commit2ce8ec95ea0aadf941efa03173b99ffba869ce4f (patch)
treeb4b9f1a873c5187379208091760d8d42624e5984 /sys-apps/less/files
parentsys-apps/less: Version bump (diff)
downloadmv-2ce8ec95ea0aadf941efa03173b99ffba869ce4f.tar.gz
mv-2ce8ec95ea0aadf941efa03173b99ffba869ce4f.tar.bz2
mv-2ce8ec95ea0aadf941efa03173b99ffba869ce4f.zip
sys-apps/less: Version bump
Signed-off-by: Martin Väth <mvath@google.com>
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r--sys-apps/less/files/less-549-mouse_fix.patch51
1 files changed, 0 insertions, 51 deletions
diff --git a/sys-apps/less/files/less-549-mouse_fix.patch b/sys-apps/less/files/less-549-mouse_fix.patch
deleted file mode 100644
index 495073a3..00000000
--- a/sys-apps/less/files/less-549-mouse_fix.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-From d5015d29f79e70fb70489616c0f2d0ff32e52898 Mon Sep 17 00:00:00 2001
-From: Mark Nudelman <markn@greenwoodsoftware.com>
-Date: Sat, 16 Feb 2019 07:20:42 -0800
-Subject: [PATCH] Don't emit mouse controls if --mouse is not set.
-
----
- screen.c | 10 ++++++----
- 1 file changed, 6 insertions(+), 4 deletions(-)
-
-diff --git a/screen.c b/screen.c
-index 9a32685..b58fe26 100644
---- a/screen.c
-+++ b/screen.c
-@@ -1549,6 +1549,8 @@ win32_deinit_term(VOID_PARAM)
- public void
- init_mouse(VOID_PARAM)
- {
-+ if (!mousecap)
-+ return;
- #if !MSDOS_COMPILER
- tputs(sc_s_mousecap, sc_height, putchr);
- #else
-@@ -1565,6 +1567,8 @@ init_mouse(VOID_PARAM)
- public void
- deinit_mouse(VOID_PARAM)
- {
-+ if (!mousecap)
-+ return;
- #if !MSDOS_COMPILER
- tputs(sc_e_mousecap, sc_height, putchr);
- #else
-@@ -1587,8 +1591,7 @@ init(VOID_PARAM)
- tputs(sc_init, sc_height, putchr);
- if (!no_keypad)
- tputs(sc_s_keypad, sc_height, putchr);
-- if (mousecap)
-- init_mouse();
-+ init_mouse();
- }
- if (top_scroll)
- {
-@@ -1626,8 +1629,7 @@ deinit(VOID_PARAM)
- #if !MSDOS_COMPILER
- if (!(quit_if_one_screen && one_screen))
- {
-- if (mousecap)
-- deinit_mouse();
-+ deinit_mouse();
- if (!no_keypad)
- tputs(sc_e_keypad, sc_height, putchr);
- if (!no_init)