commit dbbf9a052f3740edccf3cb3ce4f46d687da158f1
parent 83a0e9013e726a6318308716617b966991a65414
Author: Chris Allegretta <chrisa@asty.org>
Date: Thu, 8 Apr 2010 04:07:14 +0000
Okay maybe make it crash EVEN less.
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4495 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/files.c b/src/files.c
@@ -2136,7 +2136,7 @@ bool do_writeout(bool exiting)
}
#ifndef NANO_TINY
- if (name_exists && (openfile->current_stat && openfile->current_stat->st_mtime < st.st_mtime ||
+ if (name_exists && openfile->current_stat && (openfile->current_stat->st_mtime < st.st_mtime ||
openfile->current_stat->st_dev != st.st_dev || openfile->current_stat->st_ino != st.st_ino)) {
i = do_yesno_prompt(FALSE,
_("File was modified since you opened it, continue saving ? "));