nano

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

commit ea8f3c5271886f9d30870455199fe9361930b4c8
parent 462720a16616332eb052250e835e94f8efbba879
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Sat, 21 Apr 2007 18:53:38 +0000

comment fix


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

Diffstat:
Msrc/prompt.c | 8++++----
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/prompt.c b/src/prompt.c @@ -999,10 +999,10 @@ int get_prompt_string(bool allow_tabs, wnoutrefresh(bottomwin); /* If we're using restricted mode, we aren't allowed to change the - * name of a file once it has one, because that would allow writing - * to files not specified on the command line. In this case, - * disable all keys that would change the text if the filename isn't - * blank and we're at the "Write File" prompt. */ + * name of the current file once it has one, because that would + * allow writing to files not specified on the command line. In + * this case, disable all keys that would change the text if the + * filename isn't blank and we're at the "Write File" prompt. */ while ((kbinput = do_statusbar_input(&meta_key, &func_key, &s_or_t, &ran_func, &finished, TRUE, refresh_func)) != NANO_CANCEL_KEY && kbinput != NANO_ENTER_KEY) {