aboutsummaryrefslogtreecommitdiff
path: root/editor.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-07-06 21:49:19 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-07-06 21:49:19 +0200
commit22d843e6719c025bf6d711bfdd3644e442ee8966 (patch)
tree67a52cf274e92759696d99d1a1dd932e5e369394 /editor.h
parent071b5f3c94c4b157a153586b087229f9e6b465d3 (diff)
downloadvis-22d843e6719c025bf6d711bfdd3644e442ee8966.tar.gz
vis-22d843e6719c025bf6d711bfdd3644e442ee8966.tar.xz
Warn when saving a file which has been changed outside the editor
Diffstat (limited to 'editor.h')
-rw-r--r--editor.h1
1 files changed, 1 insertions, 0 deletions
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;