nano

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

commit 3d267dc323ea0be1750ae88898d478867d61eefb
parent 9a2d0aff00a6fe0ab8d227b7f0d8e353685f129b
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date:   Mon, 27 Nov 2006 07:13:28 +0000

still more comment fixes


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

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

diff --git a/src/files.c b/src/files.c @@ -729,8 +729,8 @@ void do_insertfile( /* If we're in multibuffer mode and the filename or command is * blank, open a new buffer instead of canceling. If the - * filename or command begins with an unsunder()ed null, treat - * it as though it's blank. */ + * filename or command begins with a newline (i.e. an encoded + * null), treat it as though it's blank. */ if (i == -1 || ((i == -2 || answer[0] == '\n') #ifdef ENABLE_MULTIBUFFER && !ISSET(MULTIBUFFER) @@ -1821,8 +1821,8 @@ int do_writeout(bool exiting) #endif ); - /* If the filename or command begins with an unsunder()ed null, - * treat it as though it's blank. */ + /* If the filename or command begins with a newline (i.e. an + * encoded null), treat it as though it's blank. */ if (i < 0 || answer[0] == '\n') { statusbar(_("Cancelled")); retval = -1;