changeset 1756:44ef6bf0ab30

Don't use STIL title if name == NULL.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 20 Sep 2007 23:11:31 +0300
parents f503db6acf72
children 3c43d2d5acd9
files src/sid/xs_fileinfo.c
diffstat 1 files changed, 1 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/sid/xs_fileinfo.c	Thu Sep 20 23:10:58 2007 +0300
+++ b/src/sid/xs_fileinfo.c	Thu Sep 20 23:11:31 2007 +0300
@@ -141,10 +141,7 @@
 		tmpNode = xs_fileinfostil->subTunes[0];
 	
 	if (tmpNode) {
-		if (tmpNode->pName)
-			subName = tmpNode->pName;
-		else
-			subName = tmpNode->pTitle;
+		subName = tmpNode->pName;
 		subAuthor = tmpNode->pAuthor;
 		subInfo = tmpNode->pInfo;
 	} else {