smol/src
Benno Schulenberg ca538e6f08 scrolling: only do a scroll when the edit window has more than one row
If the edit window consists of a single row, then the do_up() call has
already brought the desired line into view -- which means that trying
to scroll then (when already on the first line of the file) would fail.

This fixes https://savannah.gnu.org/bugs/?53891.
2018-05-13 19:31:57 +02:00
..
Makefile.am organization: move all history-related stuff to its own file 2017-09-17 12:46:36 +02:00
browser.c tweaks: use symbolic names instead of puzzling TRUE and FALSE 2018-05-10 18:19:12 +02:00
chars.c copyright: update the years for the FSF 2018-01-24 10:14:43 +01:00
color.c tweaks: use meaningful names instead of puzzling values 2018-04-01 09:49:58 +02:00
cut.c tweaks: remove two superfluous checks, and restrict two others 2018-02-14 17:29:59 +01:00
files.c build: exclude more things when configured with --disable-multibuffer 2018-03-23 11:09:37 +01:00
global.c bindings: rename constupdate to constantshow, cuttoend to cutfromcursor 2018-04-28 12:01:23 +02:00
help.c tweaks: adjust a couple of types, to reduce the number of warnings 2018-03-22 19:33:22 +01:00
history.c tweaks: fix a typo, remove a blank line, and improve some comments 2018-04-23 12:19:25 +02:00
move.c scrolling: only do a scroll when the edit window has more than one row 2018-05-13 19:31:57 +02:00
nano.c tweaks: put check for -h and -l options in their alphabetical positions 2018-05-12 19:56:37 +02:00
nano.h new feature: an option to make the 'nextword' function stop at word ends 2018-05-10 11:32:01 +02:00
prompt.c tweaks: put Yes/No/All in a consistent order (for the translators) 2018-05-13 09:57:49 +02:00
proto.h new feature: an option to make the 'nextword' function stop at word ends 2018-05-10 11:32:01 +02:00
rcfile.c tweaks: sort an option better, and reschedule a removal 2018-05-13 09:47:40 +02:00
search.c tweaks: invert two conditions and reshuffle, to reduce duplication 2018-04-24 13:27:57 +02:00
text.c new feature: an option to make the 'nextword' function stop at word ends 2018-05-10 11:32:01 +02:00
utils.c tweaks: rearrange a few if statements more symmetrically 2018-04-13 20:43:08 +02:00
winio.c tweaks: improve a couple of comments 2018-05-10 18:10:23 +02:00