diff options
author | Patrick C. McGinty <casey.mcginty@gmail.com> | 2011-03-20 16:47:29 -1000 |
---|---|---|
committer | Patrick C. McGinty <casey.mcginty@gmail.com> | 2011-03-20 16:47:29 -1000 |
commit | 60e9c1ebda68d3fb18c786a94b0e361f6493ccb0 (patch) | |
tree | c1d971c96f2424d9301c7cf1a08692e97c698fdf /src/flac_tag.c | |
parent | 42a8a20603ba21a1db3d77a62cd75b8e4ec552f2 (diff) |
Fix 'Preserve Modification Time' option for FLAC files.
Resolve condition when 'preserve modification time' feature is
disabled, FLAC files would not have their modification times changed.
Secondly, it disables easytag from incorrectly warning the user that the
file was changed by an external program, when easytag writes the file.
Diffstat (limited to 'src/flac_tag.c')
-rw-r--r-- | src/flac_tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flac_tag.c b/src/flac_tag.c index d8abf2f..19c4c48 100644 --- a/src/flac_tag.c +++ b/src/flac_tag.c @@ -1123,7 +1123,7 @@ gboolean Flac_Tag_Write_File_Tag (ET_File *ETFile) FLAC__metadata_chain_sort_padding(chain); // Write tag - if ( !FLAC__metadata_chain_write(chain, /*padding*/TRUE, /*preserve_file_stats*/TRUE) ) + if ( !FLAC__metadata_chain_write(chain, /*padding*/TRUE, PRESERVE_MODIFICATION_TIME) ) { // Error with "FLAC__metadata_chain_write" FLAC__Metadata_ChainStatus status = FLAC__metadata_chain_status(chain); |