]> git.wh0rd.org Git - nano.git/commitdiff
Add tiny check around new mtime check code. Fixes certain compile time options.
authorChris Allegretta <chrisa@asty.org>
Wed, 22 Oct 2008 22:11:46 +0000 (22:11 +0000)
committerChris Allegretta <chrisa@asty.org>
Wed, 22 Oct 2008 22:11:46 +0000 (22:11 +0000)
git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@4345 35c25a1d-7b9e-4130-9fde-d3aeb78583b8

src/files.c

index def24d72651657418356fbfd23e5e6e4ba82779c..3b884ca99a5ab4cdb1c797cc113b02a1397f9667 100644 (file)
@@ -2028,12 +2028,14 @@ bool do_writeout(bool exiting)
                            continue;
                    }
                }
+#ifndef NANO_TINY
                if (openfile->current_stat && openfile->current_stat->st_mtime < st.st_mtime) {
                    i = do_yesno_prompt(FALSE,
                        _("File was modified since you opened it, continue saving ? "));
                    if (i == 0 || i == -1)
                        continue;
                }
+#endif
 
            }