summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-05-10 21:36:36 -0300
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-07-02 19:08:06 -0300
commit2b4ebe868b660a69800dc5fe801bbcc05ccaefac (patch)
tree1cd1c0efb1e15ce99182a15a3ac4a5a80a2534f5 /util.c
parent0b8304c49ab2958bc2b4ef7286467a71faa38f41 (diff)
Warn if a newer version of a file exists before overwritting it.
Diffstat (limited to 'util.c')
-rw-r--r--util.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util.c b/util.c
index 60b5078..fb960e9 100644
--- a/util.c
+++ b/util.c
@@ -244,6 +244,7 @@ AddTextSource(Widget source, char *name, char *filename, int flags,
item->file_access = file_access;
item->display_position = item->insert_position = 0;
item->mode = 0;
+ item->mtime = 0;
item->properties = NULL;
item->xldata = NULL;
/* Try to load associated tags file */