comment fix for consistency: "magic line" -> "magicline"
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@1760 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
a9fcaa589a
commit
32d19ce47c
|
@ -1638,7 +1638,7 @@ int write_file(const char *name, int tmp, int append, int nonamechange)
|
||||||
goto cleanup_and_exit;
|
goto cleanup_and_exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* There might not be a magic line. There won't be when writing out
|
/* There might not be a magicline. There won't be when writing out
|
||||||
* a selection. */
|
* a selection. */
|
||||||
assert(fileage != NULL && filebot != NULL);
|
assert(fileage != NULL && filebot != NULL);
|
||||||
while (fileptr != filebot) {
|
while (fileptr != filebot) {
|
||||||
|
|
|
@ -1035,7 +1035,7 @@ int do_delete(void)
|
||||||
} else if (current != filebot && (current->next != filebot ||
|
} else if (current != filebot && (current->next != filebot ||
|
||||||
current->data[0] == '\0')) {
|
current->data[0] == '\0')) {
|
||||||
/* We can delete the line before filebot only if it is blank: it
|
/* We can delete the line before filebot only if it is blank: it
|
||||||
* becomes the new magic line then. */
|
* becomes the new magicline then. */
|
||||||
filestruct *foo = current->next;
|
filestruct *foo = current->next;
|
||||||
|
|
||||||
assert(current_x == strlen(current->data));
|
assert(current_x == strlen(current->data));
|
||||||
|
|
Loading…
Reference in New Issue