diff --git a/ChangeLog b/ChangeLog index 45326494819c1472803665b1e6c910d3dc3ace0e..83c17456a2b5ff8d9cf94155489e0b72dd50bcf4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ * src/browser.c (do_browser): Allow 'firstfile' and 'lastfile' to be rebound to Ctrl keys -- checking meta_key is wrong, the function has already been determined, that is all that matters. + * src/help.c (do_help): Same thing for 'firstline'/'lastline'. 2014-06-23 Benno Schulenberg <bensberg@justemail.net> * src/nano.h, src/move.c (do_up, do_down), src/winio.c (edit_scrol): diff --git a/src/help.c b/src/help.c index a52a9e4a794d9c7a177efd9770aa9fbbdb592e07..ceaff06a39bea374a701abbd4115dc60ed87a514 100644 --- a/src/help.c +++ b/src/help.c @@ -158,13 +158,10 @@ void do_help(void (*refresh_func)(void)) if (line + (editwinrows - 1) < last_line) line++; } else if (f->scfunc == do_first_line) { - if (meta_key) - line = 0; + line = 0; } else if (f->scfunc == do_last_line) { - if (meta_key) { - if (line + (editwinrows - 1) < last_line) - line = last_line - (editwinrows - 1); - } + if (line + (editwinrows - 1) < last_line) + line = last_line - (editwinrows - 1); } else if (f->scfunc == do_exit) { /* Exit from the help browser. */ break;