nano

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

commit 63e73cbd143035ad9c6d9fc34916b9123a277daa
parent 53d3db4ba6c58e6346dd098145d8509b475798fa
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sun, 28 Nov 2004 04:52:57 +0000

comment fixes


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

Diffstat:
Msrc/files.c | 2+-
Msrc/nano.c | 4++--
2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/files.c b/src/files.c @@ -2582,7 +2582,7 @@ char *do_browser(const char *inpath) if (selected > numents - 1) selected = numents - 1; else if (selectedbackup == selected) - /* Unget the 'select' key */ + /* Put back the 'select' key */ unget_kbinput('s', FALSE, FALSE); } else { /* Must be clicking a shortcut */ diff --git a/src/nano.c b/src/nano.c @@ -3026,8 +3026,8 @@ void do_justify(bool full_justify) shortcut_init(TRUE); display_main_list(); - /* Now get a keystroke and see if it's unjustify; if not, unget the - * keystroke and return. */ + /* Now get a keystroke and see if it's unjustify. If not, put back + * the keystroke and return. */ kbinput = get_edit_input(&meta_key, &func_key, FALSE); if (!meta_key && !func_key && kbinput == NANO_UNJUSTIFY_KEY) {