in open_(prev|next)_file(), translate the "New Buffer" string when
displaying "Switched to" messages on the statusbar; also do a few more
int -> bool conversions
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1959 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
diff --git a/src/nano.c b/src/nano.c
index abdd8f3..7c74982 100644
--- a/src/nano.c
+++ b/src/nano.c
@@ -2688,7 +2688,7 @@
if (i == 0 || (i == 1 && do_writeout(TRUE) > 0)) {
#ifdef ENABLE_MULTIBUFFER
/* Exit only if there are no more open buffers. */
- if (close_open_file() != 0)
+ if (!close_open_file())
#endif
finish();
} else if (i != 1)