nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit c4520d57aa0ddc8ce4bab1fba55c4c8868f6a79c
parent 10a18c141b3fe595239187b0131fa5ac6c185b03
Author: Benno Schulenberg <bensberg@justemail.net>
Date:   Sat, 22 Feb 2014 19:36:35 +0000

Correcting an oversight in the 'do_up_void' and 'do_down_void' naming.


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4594 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

Diffstat:
MChangeLog | 5+++++
Msrc/winio.c | 4++--
2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-22 Benno Schulenberg <bensberg@justemail.net> + * src/winio.c (get_mouseinput) - Correct an oversight, + use the proper 'do_up_void' and 'do_down_void' names. + Reported by Zhou Z.J. <zzj666@Savannah>, bug #38268. + 2014-02-22 Lauri Kasanen <laxy@Savannah> (tiny change) * doc/syntax/html.nanorc - Also recognize htm as extension, use cyan for tags (more visible on dark background), correct diff --git a/src/winio.c b/src/winio.c @@ -1746,8 +1746,8 @@ int get_mouseinput(int *mouse_x, int *mouse_y, bool allow_shortcuts) * wheel is equivalent to moving down three lines. */ for (i = 0; i < 3; i++) unget_kbinput((mevent.bstate & BUTTON4_PRESSED) ? - sc_seq_or(up_void, 0) : sc_seq_or(DO_DOWN_VOID, 0), FALSE, - FALSE); + sc_seq_or(do_up_void, 0) : sc_seq_or(do_down_void, 0), + FALSE, FALSE); return 1; } else