Oops, another Mac fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8master
parent
995177f2d9
commit
960a8635bc
2
files.c
2
files.c
|
@ -1148,7 +1148,7 @@ int write_file(char *name, int tmp, int append, int nonamechange)
|
||||||
return -1;
|
return -1;
|
||||||
} else if (size > 0) {
|
} else if (size > 0) {
|
||||||
#ifndef NANO_SMALL
|
#ifndef NANO_SMALL
|
||||||
if (ISSET(DOS_FILE)) {
|
if (ISSET(DOS_FILE) || ISSET(MAC_FILE)) {
|
||||||
size = write(fd, "\r", 1);
|
size = write(fd, "\r", 1);
|
||||||
lineswritten++;
|
lineswritten++;
|
||||||
if (size == -1) {
|
if (size == -1) {
|
||||||
|
|
Loading…
Reference in New Issue