From: Chris Allegretta Date: Sat, 22 Sep 2001 05:08:12 +0000 (+0000) Subject: Oops, another Mac fix X-Git-Tag: v1.1.2~55 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=960a8635bcdc8c01b6e45470e5a3e76c86d62987;p=nano.git Oops, another Mac fix git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8 --- diff --git a/files.c b/files.c index d31fcdc5..bb0d35dd 100644 --- a/files.c +++ b/files.c @@ -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) {