commit 8ae06a86b810573b265dd14acb70903f8cd1642b
parent 29f446ec40c604655b5607d1f6e1224b66436d73
Author: David Lawrence Ramsey <pooka109@gmail.com>
Date: Sun, 7 Nov 2004 01:26:39 +0000
comment update
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@2078 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/utils.c b/src/utils.c
@@ -441,7 +441,8 @@ void new_magicline(void)
}
#ifndef NANO_SMALL
-/* Remove the magicline from filebot, if there is one. */
+/* Remove the magicline from filebot, if there is one and it isn't the
+ * only line in the file. */
void remove_magicline(void)
{
if (filebot->data[0] == '\0' && filebot->prev != NULL) {