Oops, another Mac fix
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@776 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Этот коммит содержится в:
родитель
995177f2d9
Коммит
960a8635bc
2
files.c
2
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) {
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user