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
This commit is contained in:
Benno Schulenberg 2014-02-22 19:36:35 +00:00
parent 10a18c141b
commit c4520d57aa
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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