Oops, another Mac fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
master
Chris Allegretta 2001-09-22 05:08:12 +00:00
parent 995177f2d9
commit 960a8635bc
1 changed files with 1 additions and 1 deletions

View File

@ -1148,7 +1148,7 @@ int write_file(char *name, int tmp, int append, int nonamechange)
return -1;
} else if (size > 0) {
#ifndef NANO_SMALL
if (ISSET(DOS_FILE)) {
if (ISSET(DOS_FILE) || ISSET(MAC_FILE)) {
size = write(fd, "\r", 1);
lineswritten++;
if (size == -1) {