diff src/sid/xs_fileinfo.c @ 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 15c07b4cc459
children e5401b6c4665
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 {