Commit 960a8635 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Oops, another Mac fix

git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -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) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment