From 60e9c1ebda68d3fb18c786a94b0e361f6493ccb0 Mon Sep 17 00:00:00 2001 From: "Patrick C. McGinty" Date: Sun, 20 Mar 2011 16:47:29 -1000 Subject: 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. --- src/flac_tag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/flac_tag.c') 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); -- cgit v1.2.3