diff options
author | Alex Bennee <alex@bennee.com> | 2011-03-28 18:51:07 +0100 |
---|---|---|
committer | Alex Bennee <alex@bennee.com> | 2011-03-28 18:51:07 +0100 |
commit | 6f4b502f1e6be2644ca0d984f918afb802f4116f (patch) | |
tree | 7d2ef913de7e6c57ae9723caeab031b8330b23ae /src/et_core.c | |
parent | 2513a4eabeeb3dd6998e0eb381f04c715fa4ff0f (diff) | |
parent | 60e9c1ebda68d3fb18c786a94b0e361f6493ccb0 (diff) |
Merge branch 'master' of git://github.com/cmcginty/easytag
Diffstat (limited to 'src/et_core.c')
-rw-r--r-- | src/et_core.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/et_core.c b/src/et_core.c index 567a4bf..d8d1930 100644 --- a/src/et_core.c +++ b/src/et_core.c @@ -3718,6 +3718,11 @@ gboolean ET_Save_File_Tag_To_HD (ET_File *ETFile) } } + // update the stored file modification time to prevent easytag + // from warning that an external program has changed the file + if ( stat(cur_filename,&statbuf)!=-1 ) + ETFile->FileModificationTime = statbuf.st_mtime; + if (state==TRUE) { |