From c4520d57aa0ddc8ce4bab1fba55c4c8868f6a79c Mon Sep 17 00:00:00 2001 From: Benno Schulenberg Date: Sat, 22 Feb 2014 19:36:35 +0000 Subject: [PATCH] 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 --- ChangeLog | 5 +++++ src/winio.c | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b2ced542..8334e9d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-02-22 Benno Schulenberg + * src/winio.c (get_mouseinput) - Correct an oversight, + use the proper 'do_up_void' and 'do_down_void' names. + Reported by Zhou Z.J. , bug #38268. + 2014-02-22 Lauri Kasanen (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 index 46f62ff6..e2be997e 100644 --- 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 -- 2.39.5