mirror of git://git.sv.gnu.org/nano.git
still more comment fixes
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@3983 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
This commit is contained in:
parent
9a2d0aff00
commit
3d267dc323
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue