Update of /cvsroot/audacity/audacity-src/src
In directory sc8-pr-cvs11.sourceforge.net:/tmp/cvs-serv6972
Modified Files:
Tags.cpp
Log Message:
Don't generate tags if they are empty
Index: Tags.cpp
===================================================================
RCS file: /cvsroot/audacity/audacity-src/src/Tags.cpp,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- Tags.cpp 27 May 2007 08:31:30 -0000 1.47
+++ Tags.cpp 31 May 2007 02:51:59 -0000 1.48
@@ -558,6 +558,9 @@
struct id3_tag *tp = id3_tag_new();
int i;
+
+ if (IsEmpty())
+ return 0;
if (mTitle != wxT(""))
id3_tag_attachframe(tp, MakeID3Frame(ID3_FRAME_TITLE, NULL,
mTitle.mb_str()));
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Audacity-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/audacity-cvs