changeset 1757:3c43d2d5acd9

Use FIELD_DATE.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 21 Sep 2007 02:00:40 +0300
parents 44ef6bf0ab30
children 8dd3274ec57e
files src/wav/wav-sndfile.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/wav/wav-sndfile.c	Thu Sep 20 23:11:31 2007 +0300
+++ b/src/wav/wav-sndfile.c	Fri Sep 21 02:00:40 2007 +0300
@@ -114,7 +114,7 @@
 
 	tuple_associate_string(ti, FIELD_ARTIST, NULL, sf_get_string(tmp_sndfile, SF_STR_ARTIST));
 	tuple_associate_string(ti, FIELD_COMMENT, NULL, sf_get_string(tmp_sndfile, SF_STR_COMMENT));
-	tuple_associate_string(ti, -1, "date", sf_get_string(tmp_sndfile, SF_STR_DATE));
+	tuple_associate_string(ti, FIELD_DATE, NULL, sf_get_string(tmp_sndfile, SF_STR_DATE));
 	tuple_associate_string(ti, -1, "software", sf_get_string(tmp_sndfile, SF_STR_SOFTWARE));
 
 	g_free(realfn); realfn = NULL;