From 22d843e6719c025bf6d711bfdd3644e442ee8966 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Mon, 6 Jul 2015 21:49:19 +0200 Subject: Warn when saving a file which has been changed outside the editor --- editor.h | 1 + 1 file changed, 1 insertion(+) (limited to 'editor.h') diff --git a/editor.h b/editor.h index 5192d31..36f2829 100644 --- a/editor.h +++ b/editor.h @@ -195,6 +195,7 @@ struct File { Text *text; const char *name; bool stdin; + struct stat stat; int refcount; Mark marks[MARK_LAST]; File *next, *prev; -- cgit v1.2.3