diff options
Diffstat (limited to 'sys-apps/less/files')
-rw-r--r-- | sys-apps/less/files/less-549-mouse_fix.patch | 51 |
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 495073a32a49..000000000000 --- 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) |