Mercurial > audlegacy-plugins
diff src/tta/aud-tta.c @ 443:9e76e87c857e trunk
[svn] One more. Seems like one meant id3v1, not id3v2 for the 30 char limit.
author | js |
---|---|
date | Tue, 16 Jan 2007 12:50:30 -0800 |
parents | 052f21493419 |
children | 8f1785471613 |
line wrap: on
line diff
--- a/src/tta/aud-tta.c Tue Jan 16 12:47:04 2007 -0800 +++ b/src/tta/aud-tta.c Tue Jan 16 12:50:30 2007 -0800 @@ -954,8 +954,10 @@ // comment str = tta_input_id3_get_string (tag, ID3_FRAME_COMMENT); - if(str) - strncpy(ttainfo->id3v2.comment, str, 30); + if(str) { + strncpy(ttainfo->id3v2.comment, str, MAX_LINE); + strncpy(ttainfo->id3v1.comment, str, 30); + } free(str); str = NULL;