diff -rc nano-1.1.6/nano.c nano-1.1.6-patch/nano.c *** nano-1.1.6/nano.c Mon Jan 21 14:32:22 2002 --- nano-1.1.6-patch/nano.c Wed Feb 20 07:06:03 2002 *************** *** 140,146 **** /* if we already saved the file above (i. e. if it was the currently loaded file), don't save it again */ ! if (tmp != open_files) { fileage = open_files->file; /* save the file if it's been modified */ if (open_files->file_modified) --- 140,146 ---- /* if we already saved the file above (i. e. if it was the currently loaded file), don't save it again */ ! if ((tmp != open_files) || (open_files->data[0] == '\0')) { fileage = open_files->file; /* save the file if it's been modified */ if (open_files->file_modified) Only in nano-1.1.6-patch: nano.save Only in nano-1.1.6-patch: nano.save.1