changeset 1596:9ad9b3479b38

Actually only use [!] marker in the subtune menu, not the whole info field.
author Matti Hamalainen <ccr@tnsp.org>
date Wed, 05 Sep 2007 02:29:16 +0300
parents a08203b533da
children 5ba1cdf0d2f7
files src/sid/xs_fileinfo.c
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/sid/xs_fileinfo.c	Wed Sep 05 02:23:09 2007 +0300
+++ b/src/sid/xs_fileinfo.c	Wed Sep 05 02:29:16 2007 +0300
@@ -260,9 +260,8 @@
 				isSet = TRUE;
 			}
 
-			if (tmpNode->pInfo) {
-				xs_pnstrcat(tmpStr, sizeof(tmpStr),
-					isSet ? " [!]" : tmpNode->pInfo);
+			if (tmpNode->pInfo && isSet) {
+				xs_pnstrcat(tmpStr, sizeof(tmpStr), " [!]");
 				isSet = TRUE;
 			}